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

Apply the optimization to DocValuesFieldExistsQuery over the field (now deprecated in favor of FieldExistsQuery) #11652

Closed
bowenlan-amzn opened this issue Dec 19, 2023 · 0 comments
Assignees
Labels
Search:Aggregations v2.12.0 Issues and PRs related to version 2.12.0

Comments

@bowenlan-amzn
Copy link
Member

Coming from #11083 (comment)

When a range query's range covers the values of a shard, it will be rewritten into an ExistsQuery on the same field. For our optimization, we should be able to handle this situation and treat it same as the MatchAllDocsQuery case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Search:Aggregations v2.12.0 Issues and PRs related to version 2.12.0
Projects
Status: Done
Status: Done
Status: No status
Development

No branches or pull requests

1 participant