Boolean search operators for content?

General discussion related to "Everything".
Post Reply
adoucette
Posts: 1
Joined: Thu May 14, 2020 6:59 pm

Boolean search operators for content?

Post by adoucette »

First, thanks for the helpful search software!
When I search in file content, I see that I can search for words or phrases, but I don't see how to do a boolean search. For example find augustine AND confessions. Instead, everything searches for the phrase "augustine confessions".
What is the syntax for booleans in file content?
Thanks again,
Ari
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Boolean search operators for content?

Post by void »

Please try the following search:
content:augustine content:confessions

Everything boolean operators:
space = AND
| = OR
! = NOT
< > = Grouping
_tonis
Posts: 2
Joined: Wed May 27, 2020 6:10 pm

Re: Boolean search operators for content?

Post by _tonis »

Hi there!

Search string bar foo doesn't find foobar for me on v1.4.1.935 (x64). Is this expected behavior?

Added: it does not actually find barfoo as well. Can anyone confirm this?

Added: I see that build 969 fixed this. Sorry for the interuption.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Boolean search operators for content?

Post by void »

Enabling match whole words from the Search menu can cause this.

Please make sure no search options are enabled under the Search menu (uncheck match case, uncheck match whole words, uncheck match diacritics, uncheck Regex)
_tonis
Posts: 2
Joined: Wed May 27, 2020 6:10 pm

Re: Boolean search operators for content?

Post by _tonis »

Match whole words really causes this.

I can't say whether it had been enabled or not before I updated the program.

Thanks!
David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Boolean search operators for content?

Post by David.P »

Just to be sure - syntax like this does not seem to work, or should it?
content:augustine|confessions
content:(augustine|confessions)
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: Boolean search operators for content?

Post by NotNull »

It shouldn't (not tested, though)

This should work in Everything 1.5
content:<augustine|confessions>
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Boolean search operators for content?

Post by void »

David.P
Posts: 200
Joined: Fri May 29, 2020 3:22 pm

Re: Boolean search operators for content?

Post by David.P »

I see, thanks very much!
Post Reply