Maximum number of search terms in the search field

Discussion related to "Everything" 1.5 Alpha.
Post Reply
David.P
Posts: 197
Joined: Fri May 29, 2020 3:22 pm

Maximum number of search terms in the search field

Post by David.P »

Hello Forum,

what is the maximum number of search terms Everything can handle in the search field?

This is particularly relevant for me with the OR operator.

Thus, what is the maximum number of search terms I can link together with the OR operator per search?
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: Maximum number of search terms in the search field

Post by void »

There's no limit.

You will only be limited to available RAM and CPU usage.


Very rough estimate:

100 ORs will take about 1 second.
1000 ORs will take about 10 seconds.
10000 ORs will take about 100 seconds.
1,000,000 ORs will take about 3 hours.
David.P
Posts: 197
Joined: Fri May 29, 2020 3:22 pm

Re: Maximum number of search terms in the search field

Post by David.P »

Of course, how could it have been any different -- with the best software in the world 🙏💙🙏 :)
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: Maximum number of search terms in the search field

Post by void »

FYI: if you are performing a million+ ORs, it might be slightly faster to use regex in Everything.
David.P
Posts: 197
Joined: Fri May 29, 2020 3:22 pm

Re: Maximum number of search terms in the search field

Post by David.P »

Thank you! In my case it's usually something in the range of a few dozen ORs.
ChrisGreaves
Posts: 684
Joined: Wed Jan 05, 2022 9:29 pm

Re: Maximum number of search terms in the search field

Post by ChrisGreaves »

David.P wrote: Tue Jul 11, 2023 7:32 am Of course, how could it have been any different -- with the best software in the world 🙏💙🙏 :)
"in the world" ??!!!???? :lol:
Cheers, Chris
Post Reply