Elliot, you're on the right path. However, the match_phrase_prefix query 
will then look at the positions of your terms and find matches only when 
all the analyzed terms are found as well as taking into account the exact 
sequence of the terms. That explains why you're not matching like you 
expect. If you change your query to a match query, you'll see immediately 
that it will match like you expected. However, the match query does not to 
prefix matches so you'll need to take care of that some other way (like for 
example perhaps using an edge ngram filter).


-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1e0fb814-1334-465c-a5cd-84a538491def%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to