Search_Inside_files_for_words_or_phrases ?_Part_2

General discussion related to "Everything".
Post Reply
Flourgrader
Posts: 94
Joined: Fri May 28, 2021 7:55 am

Search_Inside_files_for_words_or_phrases ?_Part_2

Post by Flourgrader »

Hi,
I was not sure weather to start a new thread under a different category
For this post, but decided to keep it with my last question to keep continuity.
I am having a bit of a problem with the search inside files for specific
Words or phrases.
The search works OK for a single word,
But for a phrase it does not return anything from the search.
Example single word: content:volume
Does work OK.
Example A phrase: content:If you would like to see the volume
Does not work.
I have tried adding operators
Example. content: If + you + would + like + to + see + the + volume
It does not work.
Either the program is not designed to search for multiple words,
or I am entering the search in the wrong format.
Any advice would be appreciated.
Thanks
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Search_Inside_files_for_words_or_phrases ?_Part_2

Post by void »

Please escape spaces with double quotes:

content:"If you would like to see the volume"

However, please note: the spaces must match the source document.



Alternatively, please try the following search:

content:If content:you content:would content:like content:to content:see content:the content:volume

This will find content where the words appear in any order.

With Everything 1.5, please try:
content:<If you would like to see the volume>

This search is automatically expanded to:
content:If content:you content:would content:like content:to content:see content:the content:volume
Flourgrader
Posts: 94
Joined: Fri May 28, 2021 7:55 am

Re: Search_Inside_files_for_words_or_phrases ?_Part_2

Post by Flourgrader »

Thank you, David.
Your suggestion works just fine.
content:"If you would like to see the volume"
I should have thought about putting the phrase in double quotes marks.
My Bad!
Blinkered by the fact of looking for something more complicate to do! :D
Cheers.
Flourgrader
Posts: 94
Joined: Fri May 28, 2021 7:55 am

Re: Search_Inside_files_for_words_or_phrases ?_Part_2

Post by Flourgrader »

I preferer your last suggestion.
this is very quick, when using copy and past,
into the Search Bar.
when doing multiple searches.
Example:
content:<Looking for multiple file types: *.jpg OR *. bmp>
Thanks again. :D
Post Reply