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

Fix analyzed prefix query in query_string #35756

Merged
merged 1 commit into from Nov 23, 2018

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Nov 20, 2018

This change fixes analyzed prefix queries in query_string to be ignored
if all terms are removed during the analysis.

Closes #31702

This change fixes analyzed prefix queries in `query_string` to be ignored
if all terms are removed during the analysis.

Closes elastic#31702
@jimczi jimczi added >bug :Search/Search Search-related issues that do not fall into other categories v7.0.0 v6.6.0 v6.5.2 labels Nov 20, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search-aggs

Copy link
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

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

LGTM

@jimczi jimczi merged commit be69a77 into elastic:master Nov 23, 2018
@jimczi jimczi deleted the analyzed_wildcard_query_string branch November 23, 2018 08:42
jimczi added a commit that referenced this pull request Nov 23, 2018
This change fixes analyzed prefix queries in `query_string` to be ignored
if all terms are removed during the analysis.

Closes #31702
jimczi added a commit that referenced this pull request Nov 23, 2018
This change fixes analyzed prefix queries in `query_string` to be ignored
if all terms are removed during the analysis.

Closes #31702
original-brownbear pushed a commit that referenced this pull request Nov 23, 2018
This change fixes analyzed prefix queries in `query_string` to be ignored
if all terms are removed during the analysis.

Closes #31702
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 v6.5.2 v6.6.0 v7.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Prefixed tokens (ending with wildcard) with only filtered characters don't get removed from query
4 participants