Alternatives to boolean search

I would like to get a one-time list of topics that have keyword1 OR keyword2 or keyword3. I have tried similar queries and it looks like Discourse does not yet support boolean operators in the search UI. Are there alternatives (e.g., plugins, Rails tasks) that I could use that could get me the list of topics?

1 Like

Data Explorer queries immediately come to mind.

5 Likes

Thanks! Ended up using something like this in Data Explorer and it worked great.

SELECT 
  topic_id 
FROM 
  posts 
WHERE 
  raw LIKE '%keyword1%' 
  OR raw LIKE '%keyword2%'
2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.