I have two ES queries:
{match:{text:{query: "text box", type: "phrase"}}}
{match:{text:{query: "text bo", type: "phrase_prefix"}}}
The problem is that the second query returns fewer documents than the first one, although I would expect the second query to return all records from the first one plus something extra. What am I missing?
Thanks
text
fieldnot_analyzed
or analyzed with something similar tokeyword
? – Andrei Stefan