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.

@bowenlan-amzn bowenlan-amzn self-assigned this Dec 19, 2023
@bowenlan-amzn bowenlan-amzn converted this from a draft issue Dec 19, 2023
@bowenlan-amzn bowenlan-amzn moved this from Now (This Quarter) to In Progress in Performance Roadmap Dec 20, 2023
@bowenlan-amzn bowenlan-amzn moved this from In Progress to In-Review in Performance Roadmap Jan 29, 2024
@bowenlan-amzn bowenlan-amzn moved this from In-Review to Done in Performance Roadmap Feb 12, 2024
@bowenlan-amzn bowenlan-amzn added the v2.12.0 Issues and PRs related to version 2.12.0 label Feb 12, 2024
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Search Project Board Feb 12, 2024
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
Archived in project
Archived in project
Status: No status
Development

No branches or pull requests

1 participant