Hello. I am using autogenerated index for documents with string field. When I try to search the prefix of the word, I do not receive expected document in the result and overall number of hits is less than expected.
"match":{
"displayAs":{
"type":"phrase_prefix",
"query":"ot_",
"zero_terms_query":"all"
}
}
When I try to enter more information in query string, I managed to receive expected document. Why does this happen? Is it possible to configure it to receive all matched documents?