Request for assistance to perform content search across all volumes

General discussion related to "Everything".
Post Reply
sjm
Posts: 2
Joined: Thu Oct 04, 2018 7:45 pm

Request for assistance to perform content search across all volumes

Post 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
void
Developer
Posts: 17159
Joined: Fri Oct 16, 2009 11:31 pm

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

Post 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
sjm
Posts: 2
Joined: Thu Oct 04, 2018 7:45 pm

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

Post 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
Jondisic
Posts: 11
Joined: Tue Jul 01, 2014 1:43 pm

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

Post 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>?
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

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

Post by NotNull »

Code: Select all

 content:abc | content:123
(take a look here for more details.
Jondisic
Posts: 11
Joined: Tue Jul 01, 2014 1:43 pm

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

Post 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 ?
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

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

Post 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.
Post Reply