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

Shortcut counts on exists queries (#39570) #39660

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

cbuescher
Copy link
Member

TopDocsCollectorContext can already shortcut hit counts on match_all and term queries when there are no deletions.
This change adds this ability for exists queries if the index doesn't have deletions and fields are indexed.

Closes #37475

`TopDocsCollectorContext` can already shortcut hit counts on `match_all` and `term` queries when there are no deletions. 
This change adds this ability for `exists` queries if the index doesn't have deletions and fields are indexed.

Closes elastic#37475
@cbuescher cbuescher merged commit 2fe1fa8 into elastic:7.x Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant