iprithv opened a new pull request, #17039: URL: https://github.com/apache/lucene/pull/17039
Numeric DocValues currently store values with GCD + delta packing, a low-cardinality table, or per-block mins. That leaves a lot on the table for things like timestamps and counters that mostly move with doc id. This adds another option: fit a line per 512-value block and bitpack the residuals (same idea as DirectMonotonicWriter, but allowed on non-monotonic data). GCD still applies. We only pick it when the size estimate is at least 10% better than the existing strategies, so random/high-entropy fields keep the old encodings. Format version bumped to 4, old segments read fine. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
