Using brackets in a search

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 288
Joined: Fri Oct 16, 2009 9:50 am

Using brackets in a search

Post by burgundy »

Everything 1.5 gives me unexpected results when I use brackets in a search. Here is an example.

When I use brackets in the following search, I get no results.
(path:code OR path:text) AND path:doc
If I remove the brackets then I do get results. However the search now has a different meaning.
path:code OR path:text AND path:doc
Changing "Ignore punctuation" in the menus does not get results for my first search shown above.

As backgroud, I have got this in Everything's Advanced Options:
"ignore_punctuation_type" set to "Filename only"

What do I need to do to make brackets work (for logical grouping) in my search?
horst.epp
Posts: 1642
Joined: Fri Apr 04, 2014 3:24 pm

Re: Using brackets in a search

Post by horst.epp »

Grouping is made using < >

From the help

An Everything search is made up of search terms.
The search is broken into search terms with the following operators:
space = AND
| = OR
< > = Group search terms
" " = literal text (escape spaces, | and < >)
Post Reply