Use intoBitSet to speed up ReqExclBulkScorer with dense exclusions - #16669
Conversation
784b1e3 to
b3094fa
Compare
|
I added a benchmark task set in luceneutil with wikimediumall: After 19 benchmark rounds, the final results are: For the |
|
I also do the benchmark with
We can also see a 300%+ improvement in dense path. |
|
Nice PR! I recently opened a PR which did something similar, but in a less general way (It only applied to non-scoring queries). This is a better approach. That PR was to speed up not-equals queries, where the excluded filter matches relatively few values. It includes a benchmark showing that
For comparison, these are the baseline results from a few weeks ago:
|
|
@parkertimmins Thanks for running the benchmark and sharing the results! I'm exploring whether we can remove the |
|
I remove the test2: It looks like the situation hasn't worsened; perhaps the |
|
@parkertimmins I also run the benchmark
|
|
@romseygeek Sorry to bother you — would you please have a look in your spare time? It appears to bring a decent performance improvement to the |
romseygeek
left a comment
There was a problem hiding this comment.
This looks great, thanks @kkewwei. I left a couple of comments.
|
@romseygeek Thank you very much for taking the time to review my code in detail. Your suggestions were very valuable, and I’ve addressed them all. |
|
Thanks @kkewwei! |
Description
Solved: #16668