content:exact:searchword

Have a suggestion for "Everything"? Please post it here.
Post Reply
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

content:exact:searchword

Post by tuska »

Hi,

At present, such a search query is not permitted (0 objects):

Code: Select all

content:exact:11%
I would therefore like to see a query like this, because then one would not have to restrict by file extension, like for example:

Code: Select all

ext:txt content:11%
Would you please check the suggestion.
Thank you!
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: content:exact:searchword

Post by void »

Please use the search modifier first, for example:

exact:content:11%

Otherwise, you are searching for the text "exact:" in your file content.

exact: will match the entire content, is that what you want? the above search will only match files that contain the text 11% and nothing else.
ext:txt content:11%
Is the ext:txt just to avoid using iFilters?
-If so please try the binary: search modifier:

For example:
binary:exact:content:11%
This will bypass any iFilters and treat the file content as binary.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: content:exact:searchword

Post by tuska »

Hi,

Thank you for the information.

My goal was to find files that have the exact search term "11%" as file content,
and do not occur in a file (e.g. with tens of pages) in combination with other text.

Exact search term because with "11%" the page number 11, for example, would otherwise also be found in any document.

In the meantime, however, I think that such a search limitation is probably not possible for a file content search.

Regards,
Karl
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: content:exact:searchword

Post by void »

Thanks for the reply Karl,

Is Everything ignoring the % in your content: search? -Everything should be matching the % -it might be the iFilter doing something weird and injecting a %

exact: is most likely not the search modifier you want, as it will match the whole file content.
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: content:exact:searchword

Post by tuska »

Hi,

I just wanted to find the exact search term: 11% ... in words: 11 percent ... in the file content.
This is obviously not possible.

But thank you for the information.

Regards,
Karl
horst.epp
Posts: 1443
Joined: Fri Apr 04, 2014 3:24 pm

Re: content:exact:searchword

Post by horst.epp »

tuska wrote: Sun Mar 21, 2021 9:30 am Hi,

I just wanted to find the exact search term: 11% ... in words: 11 percent ... in the file content.
This is obviously not possible.

But thank you for the information.

Regards,
Karl
I have no problem to find 11% in txt and pdf documents using content search.
void
Developer
Posts: 16683
Joined: Fri Oct 16, 2009 11:31 pm

Re: content:exact:searchword

Post by void »

I think tuksa would like to search for:

11%

and have it match:

11percent

I have on my TODO list to support "Synonyms".
Useful to treat and = 'n = &

one could be added for % = percent
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: content:exact:searchword

Post by NotNull »

Me neither.
ext:txt content:"11%"
does the job.

Consider using
ext:txt ww:content:"11%"
to eliminate cases with "111%" and "11%gold"

(ww: = match whole word )
tuska
Posts: 1052
Joined: Thu Jul 13, 2017 9:14 am

Re: content:exact:searchword

Post by tuska »

@void
Your assumption was right.

@All
Thanks for the support!

NotNull's solution gave me the desired result:

Code: Select all

ext:txt ww:content:"11%"
 
Content_11%_(exact-only 11pct).png
Content_11%_(exact-only 11pct).png (50.56 KiB) Viewed 36922 times
 
Regards,
Karl
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: content:exact:searchword

Post by NotNull »

void wrote: Sun Mar 21, 2021 9:54 am I have on my TODO list to support "Synonyms".
I suspect the German speaking people of this community will be very happy with that.

That would mean that they can add ue as a synonym to ü, so searching for grün also finds gruen
Post Reply