So I did some more digging into the problem and apparently the problem is not with the Phase Query but with the Analyser being user on the _all field. When an Analyser is specified no results are returned but when I omit the Analyser I get the expected results.
So the question is what is exactly happening internally on the _all field is it using the standard analyser? is it not analysed?
On Friday, 27 June 2014 10:38:39 UTC+2, Shawn Ritchie wrote:
For some reason when I do the following Phrase Match query I do not get any results does anyone mind explaining why this is happening?
Below one can find the mapping and query being used