field priorityName is of search_as_you_type dataType.
My use case is like I want to search the document with the following words:---
- "let's" -> should give both the results
- "DOING" -> should give both the results
- "are you" -> should give both the results
- "Are You" -> should give both the results
- "you do" (short of you doing)-> should give both the results
- "re you" -> should give both the results
Out of 6, only the first 5 are giving me the desired result using multi_match. how can I have the 6th use case where we can have incomplete word not starting with the first characters.
Sampple docs
"_index": "priority",
"_type": "_doc",
"_id": "vaCI_HAB31AaC-t5TO9H",
"_score": 1,
"_source": { -
"priorityName": "What are you doing along Let's Go out"
}
},
{ -
"_index": "priority",
"_type": "_doc",
"_id": "vqCQ_HAB31AaC-t5wO8m",
"_score": 1,
"_source": { -
"priorityName": "what are you doing along let's go for shopping"
}
}
]
}