Page 1 of 1

Request for assistance to perform content search across all volumes

Posted: Fri Oct 05, 2018 11:54 am
by sjm
I'm a novice with Everything. Can someone direct me to instructions for performing a simple content search (filenames impertinent) for the appearance of ONE specific word? I ALSO need the same search or an add'l one, modified to find TWO specific words appearing within the same document, regardless of whether they appear together or not. The ideal search/s will be performed across all volumes of my index?

I know one parameter/filter will be 'search documents only.'

I've found exceptional explanations within this forum so far and only used it a few times. I would appreciate whatever direction you can provide. This is my first forum request for help. I usually go straight to a software user manual and figure it out, but it occurs to me that would likely be recreating the wheel for this case.

Many thanks!!
sjm

Re: Request for assistance to perform content search across all volumes

Posted: Wed Oct 10, 2018 7:02 am
by void
To search file contents for one word, please try searching for:
content:abc

To find multiple words, please try searching for:
content:abc content:123

To find a exact phrase:
content:"abc 123"

Note: content is not indexed by Everything, please combine with other searches for the best performance, for example:
d:\downloads\ content:abc content:123

Re: Request for assistance to perform content search across all volumes

Posted: Wed Oct 10, 2018 2:53 pm
by sjm
Thank you very much. I'll give this a shot. I don't know why I was under the impression that content was not included in the index, but I'm sure your suggestion will be right on target.

Sjm

Re: Request for assistance to perform content search across all volumes

Posted: Mon Jun 29, 2020 7:03 pm
by Jondisic
To find multiple words, please try searching for: content:abc content:123 wrote:To find multiple words, please try searching for:
content:abc content:123
This search <AND>
But how to find <OR>?

Re: Request for assistance to perform content search across all volumes

Posted: Mon Jun 29, 2020 8:35 pm
by NotNull

Code: Select all

 content:abc | content:123
(take a look here for more details.

Re: Request for assistance to perform content search across all volumes

Posted: Wed Jul 01, 2020 12:38 pm
by Jondisic
Why this does not work, grouping?
to find 456 AND (abc OR 123)

Code: Select all

content:<abc | 123> 456 
Why do I need to do 100500 content : content : content : content ?

Re: Request for assistance to perform content search across all volumes

Posted: Wed Jul 01, 2020 3:51 pm
by NotNull
Jondisic wrote: Wed Jul 01, 2020 12:38 pm Why this does not work, grouping?
Everything 1.4 doesn't allow nested searches.
However, you could combine the content: function with the regex: modifier. That changes the behaviour of the content: function to allow the use of regular expressions when searching for content. Simple example:

Code: Select all

regex:content:"abc|123" content:456
Jondisic wrote: Wed Jul 01, 2020 12:38 pm Why do I need to do 100500 content : content : content : content ?
I assume you are a bit dramatic here, but if not: you will run into limitations of Everything and you should look at specialized programs like dnGrep, Astrogrep, GrepWin, etc.