I'd like to take advantage of the query string query to avoid the pain of
parsing a user's search text. I want them to have pretty much all the
powers that the parser provides including AND, OR, prefix, fuzzy etc.
However, there are a couple limitations I'd like to impose:
- No leading wildcard (simple enough, that's an option on query_string).
- The user should not be able to choose the fields to search in (e.g.
"price:100" should not be allowed). Is there a way to do this with ES, or
do I need to handle restrictions like this on the client end?