luceneutil
luceneutil copied to clipboard
Add an option to disable BMW optimization for benchmarks
Description
-
Currently, there is no straight-forward way to disable in lucene benchmarks(?) which could be required in testing some optimizations like #258. I'd great if we could add an option/argument to disable BMW while benchmarking.
-
One idea could be to Increase
TOTAL_HITS_THRESHOLDin IndexSearcher.java toInteger.MAX_VALUE. Maybe we could add a setter for the same?
Looking for more ideas on this!