Commit d9c8117
committed
Fix rebase: adapt ordinal intoBitSet fast path to current Bulk* hierarchy; make test mocks support advanceExact for ordinalRangeIntoBitSet
- Add BulkSortedRangeIterator (modeled on BulkNumeric) used only for SortedDocValues single-valued ranges so MAYBE blocks can use the (SIMD) ordinalRangeIntoBitSet.
- forOrdinalRange(SortedDocValues) now creates it (SortedSet ranges stay on BulkOrdinalRangeIterator + predicate).
- Update mocks in ordinal range/set iterator tests to implement advanceExact (the default impl of ordinalRangeIntoBitSet calls it; real codecs override for speed).
- This makes contiguous ordinal set conversion (in main) + intoBitSet tests + sparse after-matches work.
The previous rebase had left an older snapshot of DocValuesRangeIterator on the feature commits.1 parent 2523c45 commit d9c8117
3 files changed
Lines changed: 242 additions & 153 deletions
File tree
- lucene/core/src
- java/org/apache/lucene/search
- test/org/apache/lucene/search
0 commit comments