ChrisHegarty commented on issue #14088: URL: https://github.com/apache/lucene/issues/14088#issuecomment-2563562389
git bisect tells me this /cc @jpountz ``` a337d14b21c3882c38da1b494730aa8f7f12827d is the first bad commit commit a337d14b21c3882c38da1b494730aa8f7f12827d Author: Adrien Grand <jpou...@gmail.com> Date: Thu Dec 19 15:05:14 2024 +0100 Use the new `loadIntoBitSet` API to speed up dense conjunctions. (#14080) Now that loading doc IDs into a bit set is much more efficient thanks to auto-vectorization, it has become tempting to evaluate dense conjunctions by and-ing bit sets. lucene/CHANGES.txt | 3 + .../lucene/search/BooleanScorerSupplier.java | 38 +++- .../lucene/search/DenseConjunctionBulkScorer.java | 193 +++++++++++++++++++ .../search/DisjunctionDISIApproximation.java | 19 ++ .../java/org/apache/lucene/util/FixedBitSet.java | 11 +- .../search/TestDenseConjunctionBulkScorer.java | 204 +++++++++++++++++++++ .../org/apache/lucene/util/TestFixedBitSet.java | 26 +++ 7 files changed, 484 insertions(+), 10 deletions(-) create mode 100644 lucene/core/src/java/org/apache/lucene/search/DenseConjunctionBulkScorer.java create mode 100644 lucene/core/src/test/org/apache/lucene/search/TestDenseConjunctionBulkScorer.java ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org