I am using the query_string method and submitting a user's free-form query syntax, allowing for normal boolean phrasing as people are accustomed to using with Google etc. My understanding is that query_string will parse such queries properly. Among the forms that I want it to parse is an exact phrase, assuming the user will indicate an exact phrase by using quotation marks. So, for example:
writers "Charles Dickens"
I have read the documentation on the query_string method in the DSL, plus this thread. I am submitting the query with the quotation marks escaped:
"query_string": "writers "Charles Dickens""
However, the ES parser seems to be splitting the terms into individual "OR" elements. I get records with "Charles" that are not "Charles Dickens". What am I doing wrong?