Repository navigation
Conversation
fastio
marked this pull request as draft
January 29, 2026 13:02
Contributor
|
Workflow [PR], commit [5c95b64] Summary: ❌
|
Contributor
|
Dear @fastio, this PR hasn't been updated for a while. Will you continue working on it? If not, please close it. Otherwise, ignore this message. |
Member
|
Should we continue? I think adding fastpfor will be interesting. Not sure about other algorithms. |
Contributor
|
If someone is interested, I could help make this forward. |
Contributor
Author
Sure, I'll add the fastpfor, and reopen this pr now. |
Contributor
Author
That would be great, thank you! I'm interested and happy to help move this forward. |
fastio
force-pushed
the
integration_codec_for_text_index
branch
from
June 13, 2026 01:12
42f0469 to
16a1aa8
Compare
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.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Add FastPFor family of posting list compression codecs for text indexes:
fastpfor,binarypacking,simple8b,streamvbyte, andoptpfor. These SIMD-accelerated codecs provide various compression ratio vs decode speed trade-offs for full-text search workloads.Documentation entry for user-facing changes
Motivation
Text indexes store posting lists (lists of row IDs containing each token). For large tables, these posting lists can become very large and benefit significantly from compression. Previously, only
bitpackingandnonecodecs were available. This PR adds five additional high-performance codecs from the FastPFor library, each optimized for different use cases.New Posting List Codecs
fastpforbinarypackingoptpforAll codecs use SIMD acceleration (SSE/AVX on x86_64, SIMDE on ARM64) for optimal performance.
Parameters
New option for text index creation:
posting_list_codec: Specifies the compression algorithm for posting lists'none'(default),'bitpacking','fastpfor','binarypacking','optpfor'Example Usage
Implementation Summary
New Files:
Modified Files: