Skip to content

Optimize QueryVisitor.EMPTY_VISITOR#16003

Open
dsmiley wants to merge 1 commit intoapache:mainfrom
dsmiley:QueryVisitorOptimizeEMPTY_VISITOR
Open

Optimize QueryVisitor.EMPTY_VISITOR#16003
dsmiley wants to merge 1 commit intoapache:mainfrom
dsmiley:QueryVisitorOptimizeEMPTY_VISITOR

Conversation

@dsmiley
Copy link
Copy Markdown
Contributor

@dsmiley dsmiley commented May 1, 2026

It's a shame the EMPTY_VISITOR was nonetheless still processing various MultiTermQuery implementations. This fixes that.

Copy link
Copy Markdown
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

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

+1

@dsmiley
Copy link
Copy Markdown
Contributor Author

dsmiley commented May 4, 2026

Should I bother with a changelog?

@msfroh
Copy link
Copy Markdown
Contributor

msfroh commented May 5, 2026

Should I bother with a changelog?

My vote is "no -- just ship it".

It's a very nice change, but it's a functionally transparent cleanup. If someone gets a big benefit, it's a happy surprise. 😁

@romseygeek
Copy link
Copy Markdown
Contributor

I think it's worth sticking something under 'Optimizations'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants