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

CI fix - remove unsafe assertion in wildcard field #78966

Merged
merged 2 commits into from
Oct 12, 2021

Conversation

markharwood
Copy link
Contributor

Since #78520 we no longer simplify BooleanQuery logic used in the approximation query. Now we can’t rely on it rewriting to a plain MatchAllDocsQuery because it is sometimes wrapped in other layers. Removed the "instanceof" assertion

…leanQuery logic - can’t rely on it rewriting to a plain MatchAllDocsQuery and is sometimes wrapped in other layers
@markharwood markharwood added >bug :Search/Search Search-related issues that do not fall into other categories labels Oct 12, 2021
@markharwood markharwood self-assigned this Oct 12, 2021
@elasticmachine elasticmachine added the Team:Search Meta label for search team label Oct 12, 2021
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@jimczi jimczi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@markharwood markharwood merged commit 52e8ebf into elastic:master Oct 12, 2021
markharwood added a commit to markharwood/elasticsearch that referenced this pull request Oct 12, 2021
Remove unsafe assertion now that wildcard field does not simplify BooleanQuery logic - can’t rely on it rewriting to a plain MatchAllDocsQuery and is sometimes wrapped in other layers
Closes elastic#78949
markharwood added a commit that referenced this pull request Oct 12, 2021
Remove unsafe assertion now that wildcard field does not simplify BooleanQuery logic - can’t rely on it rewriting to a plain MatchAllDocsQuery and is sometimes wrapped in other layers
Closes #78949
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team v8.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants