Certain search queries do not seem to work.

Found a bug in "Everything"? report it here
Post Reply
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Certain search queries do not seem to work.

Post by nagan »

XP SP 3
Certain search queries esp attrib , date size etc do not yield results. Also an alert of Cancel search query comes up. If it is dismissed , it exits everything. Can you give a sample for attrrib and date search?
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Certain search queries do not seem to work.

Post by void »

Thanks for the bug report.
Certain search queries esp attrib , date size etc do not yield results
Can you please give an example with the results you would expect?
Also an alert of Cancel search query comes up. If it is dismissed , it exits everything.
Does this exit Everything completely, or just close the search window?
If this is reproducible, please try running Everything from the command line with the -debug option.
What is the debug output when Everything exits?

Here are some examples:
Search Syntax
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Certain search queries do not seem to work.

Post by nagan »

Does this exit Everything completely, or just close the search window?
If I press the close X it exits everything.
Everything 2013-05-09_080014.gif
Everything 2013-05-09_080014.gif (21.03 KiB) Viewed 5174 times
Everything 2013-05-09_080302.gif
Everything 2013-05-09_080302.gif (107.26 KiB) Viewed 5174 times

Code: Select all

load localization
load everything icon
create mutex
bookmarks
set hook
create tray
db_load
new thread (0)
SHChangeNotifyRegister: 1 299
open volume \\?\Volume{4664a6b0-8fed-11e1-8c14-806e6f6e6963}
opened 892 0.000314
open volume \\?\Volume{4664a6b1-8fed-11e1-8c14-806e6f6e6963}
opened 892 0.000146
open volume \\?\Volume{1e20383c-a7d0-11e2-901b-dd8a203cfbaa}
opened 892 0.000146
WM_ACTIVATE 00000001 00000000, lastfocus 00000000, current focus 00000000
enter setfocus
leave setfocus
update filesystem C:
open volume \\?\Volume{4664a6b0-8fed-11e1-8c14-806e6f6e6963}
opened 888 0.000345
updated in 0.000756 seconds
update filesystem D:
open volume \\?\Volume{4664a6b1-8fed-11e1-8c14-806e6f6e6963}
opened 908 0.000207
updated in 0.000475 seconds
update filesystem F:
open volume \\?\Volume{1e20383c-a7d0-11e2-901b-dd8a203cfbaa}
opened 916 0.001246
updated in 0.001876 seconds
invalidate
enter main loop
loaded db in 0.081084 seconds
_DB_WAIT: _db_load_successful_proc waiting...
_DB_WAIT: _db_load_successful_proc waited 0.002554 seconds
start all monitors (3)
open volume \\?\Volume{4664a6b0-8fed-11e1-8c14-806e6f6e6963}
opened 920 0.000376
open volume \\?\Volume{4664a6b1-8fed-11e1-8c14-806e6f6e6963}
search '' filter ''
opened 928 0.000607
term 04cf3800, flags: 0140, next: 00000000, notnext: 00000000
folderop: 0, fileop: 0, term:
open volume \\?\Volume{1e20383c-a7d0-11e2-901b-dd8a203cfbaa}
new thread (1)
opened 936 0.001650
waiting for 4 handles, isdelay 0...
found 31045 folders, size 131464, db search time taken: 0.000097 seconds
_DB_WAIT: db_get_selection_count waiting...
found 195791 files, size 787468, db search time taken: 0.000912 seconds
_DB_WAIT: db_get_selection_count waited 0.003739 seconds
new thread (2)
search 'a' filter ''
term 04cf38a0, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: a
new thread (3)
found 21458 folders, size 131428, db search time taken: 0.007621 seconds
new thread (4)
new thread (5)
found 100164 files, size 459416, db search time taken: 0.022114 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.001329 seconds
search 'at' filter ''
term 04cf3850, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: at
found 2740 folders, size 65816, db search time taken: 0.015057 seconds
found 17923 files, size 131412, db search time taken: 0.028549 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000779 seconds
search 'att' filter ''
term 04ed4178, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: att
found 31 folders, size 65808, db search time taken: 0.009513 seconds
new thread (6)
found 480 files, size 65808, db search time taken: 0.025972 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000815 seconds
search 'attr' filter ''
term 0098a570, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: attr
found 1 folders, size 65808, db search time taken: 0.014770 seconds
found 13 files, size 65808, db search time taken: 0.026814 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000997 seconds
search 'attri' filter ''
term 0098a150, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: attri
found 0 folders, size 0, db search time taken: 0.018080 seconds
found 8 files, size 65808, db search time taken: 0.030909 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.001156 seconds
search 'attrib' filter ''
term 0098a150, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: attrib
found 0 folders, size 0, db search time taken: 0.013430 seconds
found 8 files, size 65808, db search time taken: 0.029317 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000870 seconds
search 'attrib:' filter ''
term 0098a150, flags: 0140, next: 00000000, notnext: 00000000
folderop: 150, fileop: 150, term: attrib:
search 'attrib:r' filter ''
_DB_WAIT: db_query waiting...
found 12133 folders, size 65852, db search time taken: 0.762154 seconds
_DB_WAIT: db_query waited 0.001199 seconds
term 04f72768, flags: 0140, next: 00000000, notnext: 00000000
folderop: 150, fileop: 150, term: attrib:r
found 1155 folders, size 65812, db search time taken: 0.893710 seconds
Updating \\?\Volume{4664a6b0-8fed-11e1-8c14-806e6f6e6963} (C:):
waiting for 3 handles, isdelay 0...
_DB_WAIT: db_get_result_count waiting...
found 3806 files, size 65820, db search time taken: 9.227786 seconds
_DB_WAIT: db_get_result_count waited 3.743185 seconds
update filesystem C:
updated in 0.000080 seconds
waiting for 4 handles, isdelay 0...
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000271 seconds
search 's' filter ''
term 04ed5030, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: s
found 19571 folders, size 131420, db search time taken: 0.002333 seconds
found 99127 files, size 459412, db search time taken: 0.009454 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000675 seconds
search 'si' filter ''
term 04ed4f90, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: si
found 1203 folders, size 65812, db search time taken: 0.009543 seconds
found 6265 files, size 65832, db search time taken: 0.024933 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.001074 seconds
search 'siz' filter ''
term 04ed4f90, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: siz
found 10 folders, size 65808, db search time taken: 0.011302 seconds
found 106 files, size 65808, db search time taken: 0.033406 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000758 seconds
search 'size' filter ''
term 05a57828, flags: 0140, next: 00000000, notnext: 00000000
folderop: 2, fileop: 2, term: size
found 8 folders, size 65808, db search time taken: 0.014497 seconds
found 94 files, size 65808, db search time taken: 0.020909 seconds
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000973 seconds
search 'size:' filter ''
term 05a57d98, flags: 0140, next: 00000000, notnext: 00000000
folderop: 1, fileop: 148, term: size:
found 0 folders, size 0, db search time taken: 0.000118 seconds
search 'size:>' filter ''
_DB_WAIT: db_query waiting...
found 100794 files, size 459416, db search time taken: 0.809414 seconds
_DB_WAIT: db_query waited 0.162426 seconds
term 05a57d68, flags: 0140, next: 00000000, notnext: 00000000
folderop: 1, fileop: 148, term: size:>
found 0 folders, size 0, db search time taken: 0.000066 seconds
search 'size:>1' filter ''
_DB_WAIT: db_query waiting...
found 101207 files, size 459420, db search time taken: 0.403043 seconds
_DB_WAIT: db_query waited 0.029115 seconds
term 05adb570, flags: 0140, next: 00000000, notnext: 00000000
folderop: 1, fileop: 148, term: size:>1
found 0 folders, size 0, db search time taken: 0.000030 seconds
search 'size:>1m' filter ''
_DB_WAIT: db_query waiting...
found 101581 files, size 459420, db search time taken: 0.368686 seconds
_DB_WAIT: db_query waited 0.039135 seconds
term 05ae0340, flags: 0140, next: 00000000, notnext: 00000000
folderop: 1, fileop: 148, term: size:>1m
found 0 folders, size 0, db search time taken: 0.000051 seconds
search 'size:>1mb' filter ''
_DB_WAIT: db_query waiting...
found 101967 files, size 459420, db search time taken: 0.414640 seconds
_DB_WAIT: db_query waited 0.043600 seconds
term 05ae4c60, flags: 0140, next: 00000000, notnext: 00000000
folderop: 1, fileop: 148, term: size:>1mb
found 0 folders, size 0, db search time taken: 0.000066 seconds
_DB_WAIT: db_get_result_count waiting...
Updating \\?\Volume{4664a6b0-8fed-11e1-8c14-806e6f6e6963} (C:):
waiting for 3 handles, isdelay 0...
found 7632 files, size 65836, db search time taken: 5.935937 seconds
_DB_WAIT: db_get_result_count waited 4.021518 seconds
update filesystem C:
updated in 0.000056 seconds
waiting for 4 handles, isdelay 0...
_DB_WAIT: _db_ready_proc waiting...
_DB_WAIT: _db_ready_proc waited 0.000433 seconds
WM_ACTIVATE 00200000 00000000, lastfocus 001b09ce, current focus 00000000
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Certain search queries do not seem to work.

Post by void »

Thanks for the screen shots and debug output.

I believe I have fixed the issue for the next beta update.
The issue was cause by handling the close event incorrectly.

Thanks for bringing it to my attention.

I hope the size:>1mb image is a mock-up image and you have confused greater than (>) with less than (<) ?
size:>1mb = size is greater than 1mb
size:<1mb = size is less than 1mb

Also, please note that Everything ceilings sizes up to the nearest unit.
1mb = 1 byte to 1048576 bytes.
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Certain search queries do not seem to work.

Post by nagan »

I hope the size:>1mb image is a mock-up image and you have confused greater than (>) with less than (<) ?
size:>1mb = size is greater than 1mb
size:<1mb = size is less than 1mb
I have posted the screenshot as per the result I got. In fact the entries read below 1mb to show that maybe the results for the actual query has not shown.
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Certain search queries do not seem to work.

Post by void »

I have posted the screenshot as per the result I got. In fact the entries read below 1mb to show that maybe the results for the actual query has not shown.
It looks like the query is still in progress, the size: function should never show folder results.
nagan
Posts: 302
Joined: Thu Apr 18, 2013 11:44 am

Re: Certain search queries do not seem to work.

Post by nagan »

Yes.The results do not seem to show. And if I press enter , I get the cancel search alert. If this is reproducible from your end too, fine ,will wait for the solution.
Post Reply