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

Expose flags in simple_query_string query #4490

Closed
clintongormley opened this issue Dec 17, 2013 · 1 comment
Closed

Expose flags in simple_query_string query #4490

clintongormley opened this issue Dec 17, 2013 · 1 comment

Comments

@clintongormley
Copy link

The simple_query_string query allows the user to enable/disable parts of the syntax, eg prefixes, phrases etc.

I think it makes sense to support the full syntax by default, but to allow the user to disable the parts that they don't want, eg:

"simple_query_string": {
    "query": "....",
    "disable": "PREFIX|PHRASE"
}

... in a similar way that we do with flags in the regexp query/filter

@dakrone
Copy link
Member

dakrone commented Jan 3, 2014

Merged in 5463f79 and 18cdde6

@dakrone dakrone closed this as completed Jan 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants