Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compress PagedBytesAtomicFieldData's termOrdToBytesOffset #3186

Closed
jpountz opened this Issue Jun 14, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@jpountz
Copy link
Contributor

jpountz commented Jun 14, 2013

MonotonicAppendingLongBuffer is an in-memory append-only data-structure which compresses efficiently monotonically increasing sequence of longs. We would save memory by using it in PagedBytesAtomicFieldData to store the term ordinal -> offset mapping.

@ghost ghost assigned jpountz Jun 14, 2013

jpountz added a commit to jpountz/elasticsearch that referenced this issue Jun 14, 2013

Compress PagedBytesAtomicFieldData's termOrdToBytesOffset.
Using MonotonicAppendingLongBuffer instead of a GrowableWriter should help
save several bits per value, especially when the bytes to store have similar
lengths.

Closes elastic#3186

@jpountz jpountz closed this in a30d58a Jun 15, 2013

jpountz added a commit that referenced this issue Jun 15, 2013

Compress PagedBytesAtomicFieldData's termOrdToBytesOffset.
Using MonotonicAppendingLongBuffer instead of a GrowableWriter should help
save several bits per value, especially when the bytes to store have similar
lengths.

Closes #3186

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Compress PagedBytesAtomicFieldData's termOrdToBytesOffset.
Using MonotonicAppendingLongBuffer instead of a GrowableWriter should help
save several bits per value, especially when the bytes to store have similar
lengths.

Closes elastic#3186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.