Does the order of search term matter?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
bit
Posts: 38
Joined: Fri Feb 17, 2023 8:57 am

Does the order of search term matter?

Post by bit »

video: regex:"xxx.\d+"
regex:"xxx.\d+" video:

Any difference on performance? Will Everything sort those terms internally before search?
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Does the order of search term matter?

Post by void »

Everything 1.4: No search term reordering. Search terms are execute from left to right.
Everything 1.5: Search terms are reordered from fastest to slowest.



The following will give slightly better performance with Everything 1.4:
video: regex:"xxx.\d+"

The following will give slightly worse performance with Everything 1.4:
regex:"xxx.\d+" video:

video: will be faster than the regex search.
Post Reply