multiple partial matches

Found a bug in "Everything"? report it here
Post Reply
37058444
Posts: 3
Joined: Thu May 27, 2021 10:57 am

multiple partial matches

Post by 37058444 »

When I search the words: American pickle
it returns no results.

It should search for each word or partial phrase separately but it looks for an exact match only a search like America.Pickle is successful.

How am I supposed to remember there was a DOT and not a SPACE in between words??


Also a related problem to this bug when I search nun warrior it returns zero results it has to be warrior nun
And so what if I entered the search words in a different order?


Locate32 handles this flawlessly. I am surprised no one else reported this obvious bug related to faulty queries program makes.
I searched and couldn't find anything.
void
Developer
Posts: 15480
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple partial matches

Post by void »

Is Match Whole Words enabled under the Search menu? -please try disabling Match Whole Words.

Please make sure no other search options are checked under the Search menu.
37058444
Posts: 3
Joined: Thu May 27, 2021 10:57 am

Re: multiple partial matches

Post by 37058444 »

No "Match whole word" is not selected and also it is DISABLED (greyed out) by default I think. Your SQL query needs multiple OR statements for each phrase.

I would do something like this in VBasic

'first remove multiple spaces
searchhrases=replace(searchhrases," "," ")

'populate them to an array
phrases()=split(searchhrases," ")
sqlquery="SELECT * FROM table WHERE Column LIKE "

for i=0 to ubound(phrases)
sqlquery=sqlquery + phrases(i)
if i<ubound(phrases) then sqlquery=sqlquery + " OR "
next i

'run sql
...

You might be using just a single like for the entire search textbox. That is a bug.
37058444
Posts: 3
Joined: Thu May 27, 2021 10:57 am

Re: multiple partial matches

Post by 37058444 »

Sorry, please disregard my bug report. It was the enable regex being enabled without me noticing it. Disabling it fixed everything.
void
Developer
Posts: 15480
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple partial matches

Post by void »

Sounds like regex is enabled.

Please disable regex from the Search menu (Ctrl + R).


With regex disabled, a space in Everything means AND.
Everything should be doing partial searches with regex disabled.
cometothedarkside4it
Posts: 3
Joined: Mon Dec 16, 2019 6:35 am

Re: multiple partial matches

Post by cometothedarkside4it »

How does one find find filenames with dots abc.def.ext

example abc.def@gmail.comhttp using the default "Everything" search filter

abc.def@gmail.comhttp nothing found

abc. too many results

comhttp returns a different result
abc@domain.com.xxx.comhttpxxxx
therube
Posts: 4646
Joined: Thu Sep 03, 2009 6:48 pm

Re: multiple partial matches

Post by therube »

abc.def@gmail.comhttp nothing found
It should have - unless you have some filtering (or something else) going on.
Check the items under the Search menu & see if they're affecting you?

Otherwise "abc.def" or "abc.def@" or "...def @" or any number of combinations or ways should be turning up results for you.
Mizufluffy
Posts: 62
Joined: Sun Jun 13, 2021 10:22 am

Re: multiple partial matches

Post by Mizufluffy »

cometothedarkside4it wrote: Tue Nov 16, 2021 5:53 pm How does one find find filenames with dots abc.def.ext

example abc.def@gmail.comhttp using the default "Everything" search filter
I created your example file abc.def@gmail.comhttp on my system and if I search for "abc." then I get 125 results. I wouldn't call it "too many" but I can see what you mean by it. Some of the results are files like these:

Code: Select all

abc.pyo
abc.py
amd64_microsoft-windows-c..uired-deployment010_31bf3856ad364e35_10.0.19041.1237_cs-cz_795b128704b69abc.manifest
in addition to multiple image or other files.

However, if I search for "abc.def" then I only get one result which is the file I created. If I search for "comhttp" then I find only the same file again. If you cannot find a file with name "abc.def@gmail.comhttp" with those searches then my first guess would you may have some kind of search option selected or perhaps the file itself isn't indexed.
For the former you could see if you have anything enabled under Search menu. I tried the search with various options there and in most cases I was able to find the file.
For the latter you could check Everything Options (Tools > Options...) and under "Indexes" see if the file is in an indexed location. Additionally you can check if there is exclusion filtering for the file under Indexes > Exclude that could prevent from indexing the file.

In any case, if you have a file with that name, and if it is indexed, then Everything should absolutely be able to find it.
void
Developer
Posts: 15480
Joined: Fri Oct 16, 2009 11:31 pm

Re: multiple partial matches

Post by void »

Please make sure no search options are checked under the Search menu (eg: uncheck match case, uncheck match whole words, uncheck regex)

Please make sure the Everything filter is active under the Search menu.

Please make sure these files are not excluded from Tools -> Options -> Exclude.

Please make sure Everything is installed correctly:
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Check Store settings and data in %APPDATA%\Everything
  • Uncheck Run as administrator.
  • Check Everything Service. (Please make sure this is tick-checked and not square-checked)
  • Click OK.
  • Exit Everything (right click the Everything tray icon and click Exit).
  • Restart Everything.
Please try forcing a rebuild:
  • In Everything, from the Tools menu, click Options.
  • Click the Indexes tab on the left.
  • Click Force Rebuild.
  • Click OK.
Post Reply