Searching for word1 word2 | word3 word4 doesn't work

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
finisterre
Posts: 2
Joined: Wed Mar 02, 2022 6:21 pm

Searching for word1 word2 | word3 word4 doesn't work

Post by finisterre »

Hi. Thanks for Everything. It's been a game-changer for my efficiency!

My most common search is word1 word2 which will show everything that matches both of those words anywhere in any order.

But I'd can't get the following to work:

word1 word2 | word3 word4

How could I do that?

Thanks.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Search Syntax Help

Post by NotNull »

you can use grouping:

Code: Select all

< word1 word2 > | < word3 word4 >
void
Developer
Posts: 16841
Joined: Fri Oct 16, 2009 11:31 pm

Re: Searching for word1 word2 | word3 word4 doesn't work

Post by void »

By default, Everything will break your search:

word1 word2 | word3 word4

into:

word1 AND (word2 OR word3) AND word4



Consider changing your search operator precedence:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Change Operator precedence to: AND > OR
  • Click OK.
Now, Everything will break your search:

word1 word2 | word3 word4

into:

(word1 AND word2) OR (word3 AND word4)
finisterre
Posts: 2
Joined: Wed Mar 02, 2022 6:21 pm

Re: Searching for word1 word2 | word3 word4 doesn't work

Post by finisterre »

Thanks you so much. Both of those suggestions work.
Post Reply