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

Comments

Projects
None yet
2 participants
@clintongormley
Member

clintongormley commented Dec 17, 2013

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

This comment has been minimized.

Show comment
Hide comment
@dakrone

dakrone Jan 3, 2014

Member

Merged in 5463f79 and 18cdde6

Member

dakrone commented Jan 3, 2014

Merged in 5463f79 and 18cdde6

@dakrone dakrone closed this Jan 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment