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

LUCENE-9957: Use DirectMonotonicWriter to store sorted Values in NumericDocValues/SortedNumericDocValues #139

Closed
wants to merge 1 commit into from

Conversation

LuXugang
Copy link
Member

Since in method Lucene90DocValuesConsumer#writeValues(FieldInfo field, DocValuesProducer valuesProducer) , all values will be visited, in the meantime, we can check if all values were sorted. if so, after docIds written done, we use DirectMonotonicWriter write all values then return. it can get relatively impressive compression

@LuXugang LuXugang changed the title [LUCENE-9957: Use DirectMonotonicWriter to store sorted Values in NumericDocValues/SortedNumericDocValues LUCENE-9957: Use DirectMonotonicWriter to store sorted Values in NumericDocValues/SortedNumericDocValues May 14, 2021
@LuXugang LuXugang marked this pull request as draft May 14, 2021 14:25
@LuXugang LuXugang marked this pull request as ready for review May 14, 2021 14:26
@LuXugang LuXugang closed this Jun 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant