Repository navigation
Text index: compress on-disk posting lists by Delta + FastPFOR - #84435
Merged
Merged
Conversation
Previously, zstd compression was used on top of the Roaring bitmap raw data. This could lead to larger posting list data on disk. With this PR, a more specific compression for the sorted integer sequence has been implemented. Namely, Delta + PFOR (Patched Frame Of Reference) is choosen. To achieve high performance, `FastPFOR` [[1]] library has been introduced which uses SIMD intrinsics. [1]: https://github.com/fast-pack/FastPFOR
ahmadov
force-pushed
the
ahmadov/fst-posting-list-compression
branch
from
July 25, 2025 09:30
a853271 to
30d04b9
Compare
rschu1ze
reviewed
Jul 29, 2025
30 tasks
rschu1ze
reviewed
Jul 31, 2025
ahmadov
marked this pull request as ready for review
August 6, 2025 14:59
Contributor
ahmadov
commented
Aug 6, 2025
rschu1ze
reviewed
Aug 6, 2025
This comment was marked as resolved.
This comment was marked as resolved.
rschu1ze
approved these changes
Aug 7, 2025
ahmadov
commented
Aug 7, 2025
…ting-list-compression
…ting-list-compression
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
…-list-compression
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
1 task done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, on-disk posting lists in the text index were stored as zstd-compressed Roaring bitmaps. Turns out that Delta + PFOR (Patched Frame Of Reference) achieves higher compression rates.
Delta + PFOR compression requires the
FastPforlibrary. In case it is not present, it will fallback to the zstd-compressed Roaring bitmaps.Changelog category (leave one):