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

Remove SortedSetDocValuesSetQuery in favor of TermInSetQuery with DocValuesRewriteMethod #12175

Merged
merged 2 commits into from
Mar 1, 2023

Conversation

gsmiller
Copy link
Contributor

@gsmiller gsmiller commented Mar 1, 2023

Description

Now that TermInSetQuery extends MultiTermQuery (#12156), we can leverage other RewriteMethods to change the query execution behavior. Because of this, we can use DocValuesRewriteMethod in place of SortedSetDocValuesSetQuery, which lets us remove some mostly redundant code and simplify.

Copy link
Member

@rmuir rmuir left a comment

Choose a reason for hiding this comment

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

+1 !

@gsmiller gsmiller merged commit 569533b into apache:main Mar 1, 2023
@gsmiller gsmiller deleted the GH/switch-tis-dv branch March 1, 2023 16:25
gsmiller added a commit that referenced this pull request Mar 1, 2023
@gsmiller gsmiller added this to the 9.6.0 milestone Mar 1, 2023
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

2 participants