To use boolean function in your search query, select "Boolean" match mode in the search form.
Search understands the following boolean operators:
& (logical AND)
Example: police & report
Search will find any pages that contain both "police" and "report". You can also use + for this operator.
| (logical OR)
Search will find any pages that contain the word "police" or the word "report".
~ (logical NOT)
Example: police & ~report
Search will find pages that contain the word "police" and do not contain the word "report" at the same time. Note that ~ just excludes the given word from the results. Query "~report" will not find anything!
() (group command to compose more complex queries)
Example: (police|sheriff) & ~calvert
Search will find pages that contain either "police" OR "sheriff" AND DO NOT contain "calvert".