I'm new to ElasticSearch but have been reading on it for the last couple days trying to come up with 'best' type of search my application. I want to be able to match multiple terms with multiple results but also have partial word results. Listed below is what I am currently using and it works great finding results for all the words entered such as 'Michigan Creative VP' finds people who work for Michigan Creative and VP Comm, but when I search for 'manage' instead of 'management' nothing comes up.
$params =
[
'index' => 'myindex',
'type' => 'person',
'body' =>
[
'from' => 0,
'size' => 500,
'query' =>
[
'fuzzy_like_this' =>
[
'_all' =>
[
'like_text' => $keywords,
'fuzziness' => 0.5,
],
],
],
]
];
I've read about wildcard but see that people say the results are slow and I am not sure they also take in account every word in the search. Can someone please help point me to the right search configuration that could get partial matches.