Does Discourse search support a specific syntax?


(STiNGER) #1

Does Discourse search support a specific command syntax?

For instance, can I search on:

string1 AND NOT string2

If the answer is yes, where can I find the search command reference?

Thanks!


(Joshua Rosenfeld) #2

AND and NOT aren’t currently supported. I’ve actually got a request in already for NOT to be added.

As for the available search operators, your best bet is to use the advanced search tool. It supports all the available operators and adds them to the search bar for you automatically. I’ll try and find a screenshot of the old interface for you…

Edit: Here you go:


(STiNGER) #3

Just what I needed. Thanks for the info, Joshua.