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-8593: Specialize single value numeric DV updates #515

Merged
merged 1 commit into from Dec 6, 2018

Conversation

s1monw
Copy link
Member

@s1monw s1monw commented Dec 5, 2018

The case when all values are the the same on a numeric field update
is common for soft_deletes. With the new infrastucture for buffering
DV updates we can gain an easy win by specializing the applied updates
if all values are the same.

@s1monw s1monw changed the title LUCENE-8593?: Specialize single value numeric DV updates LUCENE-8593: Specialize single value numeric DV updates Dec 5, 2018
Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is neat. LGTM.

The case when all values are the the same on a numeric field update
is common for soft_deletes. With the new infrastucture for buffering
DV updates we can gain an easy win by specializing the applied updates
if all values are the same.
@s1monw s1monw force-pushed the optimize_single_value_numerics branch from 705011a to b4e1fe4 Compare December 6, 2018 08:41
@asfgit asfgit merged commit b4e1fe4 into apache:master Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants