Hello.
I have a problem with my query which looks like that:
`{ "from" : 0, "size" : 500, "query" : { "bool" : { "must" : { "bool" : { "should" : { "match" : { "title" : { "query" : "whirlpool c", "type" : "phrase_prefix" } } }, "minimum_should_match" : "1" } } } }, "sort" : [ { "modified" : { "order" : "desc", "missing" : "_last" } }, { "_score" : { "order" : "asc", "missing" : "_last" } }] }`
This query is returning 0 hits. If I will search for "whirlpool ch" it's working fine. i've got few similar cases.
I'm working on elasticsearch 1.7.
I don't know why it's not returning results for whirlpool c, for different words combination it's working fine.
For example if I will have document with property title set to "My new title" and I will search for "new t", it's working fine.
The document which I'm looking for is called "whirlpool changes the world".
I created different document with title "whirlpool created something new", but it also cannot be found. Of course If I will look for "whirlpool cr", then document is found.
Any ideas what can be wrong?