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

Search optimisation - add canMatch early aborts for queries on "_index" field (#48681) #49158

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

markharwood
Copy link
Contributor

@markharwood markharwood commented Nov 15, 2019

Backport of #48681
Make queries on the “_index” field fast-fail if the target shard is an index that doesn’t match the query expression. Part of the “canMatch” phase optimisations.

Closes #48473

…x" field (elastic#48681)

Make queries on the “_index” field fast-fail if the target shard is an index that doesn’t match the query expression. Part of the “canMatch” phase optimisations.

Closes elastic#48473
@markharwood markharwood added >enhancement :Search/Search Search-related issues that do not fall into other categories backport 7x labels Nov 15, 2019
@markharwood markharwood self-assigned this Nov 15, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/Search)

@markharwood
Copy link
Contributor Author

@jimczi This change is intended for 7.x too, right?

@jimczi jimczi removed the 7x label Nov 15, 2019
@jimczi
Copy link
Contributor

jimczi commented Nov 15, 2019

This change is intended for 7.x too, right?

Yes

@markharwood markharwood merged commit c3745b0 into elastic:7.x Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport >enhancement :Search/Search Search-related issues that do not fall into other categories
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants