Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
New
Description
in [LUCENE-9027|https://github.com/apache/lucene-solr/pull/973] lucene introduced SIMD to decode postings, which leaves a very small problem. i hope i can fix this as my first PR on this amazing project .
detail:
maxUnpatchedValue has already computed apache.lucene.codecs.lucene84.PForUtil#encode line 64 final long maxUnpatchedValue = (1L << patchedBitsRequired) - 1; apache.lucene.codecs.lucene84.PForUtil#encode line 74 but computed later again: if (longs[i] > (1L << patchedBitsRequired) - 1)...
Attachments
Issue Links
- links to