-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to disable BMW optimization for benchmarks #265
Comments
Could you use tasks where dynamic pruning doesn't apply instead of disabling it? E.g. use counting tasks? |
+1, that's a nice approach. Though even Lucene's |
Indeed |
Do you mean to wrap the clauses with "count( )" like eg https://github.com/mikemccand/luceneutil/blob/master/tasks/countOnly.tasks so that we check the performance but avoid BMW? I like this idea if I understand correctly. But not sure if we could make it an option with benchmarks straightforwardly.
I'm not sure what you mean by using some cheap faceting here. Maybe you could elaborate on this idea? Also, since we want to enable it via benchmarks, does this also fit well in that picture? |
I think @jpountz is referring to enabling faceting on each task.
|
Thanks for the explanation, Mike! I'll try benchmarking it change using count tasks and share the results. Btw, if the above-mentioned approach of maxing out |
Description
Currently, there is no straight-forward way to disable in lucene benchmarks(?) which could be required in testing some optimizations like Add tasks for multiple negated keywords and its optimized version #258. I'd great if we could add an option/argument to disable BMW while benchmarking.
One idea could be to Increase
TOTAL_HITS_THRESHOLD
in IndexSearcher.java toInteger.MAX_VALUE
. Maybe we could add a setter for the same?Looking for more ideas on this!
The text was updated successfully, but these errors were encountered: