I'm doing a simple query_string query that looks like this:
"query_string" : {
"default_operator" : "AND",
"fields" : ["title^20","keywords^10","description^8","content^1","titles^6","highlights^4"],
"query" : "\"south west\""
}
However, the search is matching documents with the words "south" and "west" that are not necessarily adjecent, e.g. "We are seeing low flying buzzards in the south of england and also the west". I would like it to only return results that match the exact phrase, e.g. "We are seeing low flying buzzards in the south west of buckinghamshire".
The analyzer used for both search and indexing is the snowball analyzer and I am guessing that this may be the root of the issue, i.e. do phrase queries not work with the snowball analyzer?
Any ideas?
TIA
Dominic