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 - enable low_level_cancellation by default. (#42291) #42857

Merged
merged 1 commit into from
Jun 7, 2019

Conversation

markharwood
Copy link
Contributor

Benchmarking on worst-case queries (max agg on match_all or popular-term query with large index) was not noticeably slower.

Closes #26258

@markharwood markharwood added :Search/Search Search-related issues that do not fall into other categories backport v7.3.0 labels Jun 4, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search

Benchmarking on worst-case queries (max agg on match_all or popular-term query with large index) was not noticeably slower.

Closes elastic#26258
@markharwood markharwood merged commit 0719779 into elastic:7.x Jun 7, 2019
jimczi added a commit to jimczi/elasticsearch that referenced this pull request Jun 27, 2019
Search requests executed through the SecurityIndexSearcherWrapper throw
an UnsupportedOperationException if they match a sparse role query.
When low level cancellation is activated (which is the default since elastic#42857),
the context index searcher creates a weight that doesn't handle #scorer.
This change fixes this bug and adds a test to ensure that we check this case.
jimczi added a commit that referenced this pull request Jun 27, 2019
Search requests executed through the SecurityIndexSearcherWrapper throw
an UnsupportedOperationException if they match a sparse role query.
When low level cancellation is activated (which is the default since #42857),
the context index searcher creates a weight that doesn't handle #scorer.
This change fixes this bug and adds a test to ensure that we check this case.
jimczi added a commit that referenced this pull request Jun 27, 2019
Search requests executed through the SecurityIndexSearcherWrapper throw
an UnsupportedOperationException if they match a sparse role query.
When low level cancellation is activated (which is the default since #42857),
the context index searcher creates a weight that doesn't handle #scorer.
This change fixes this bug and adds a test to ensure that we check this case.
jimczi added a commit that referenced this pull request Jun 27, 2019
Search requests executed through the SecurityIndexSearcherWrapper throw
an UnsupportedOperationException if they match a sparse role query.
When low level cancellation is activated (which is the default since #42857),
the context index searcher creates a weight that doesn't handle #scorer.
This change fixes this bug and adds a test to ensure that we check this case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Search/Search Search-related issues that do not fall into other categories v7.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants