The question title is a bit misleading but I didn't know how to put it properly but here is my scenario
I have a word Water wipes (see the space in between) in the title of a product record in my elastic search. Now I need to match it for waterwipes. since there is no space in between I am getting zero results for the query waterwipes. The following is the must match query in the Elastic search (I am using PHP here)
$mustConditions = [
[
"nested" => [
"path" => "name",
"query" => [
"multi_match" => [
"query" => (string)$query,
"fields" => ['name.en^3', 'name.ar^3'],
"zero_terms_query" => "all",
"fuzziness" => "auto",
"operator" => "AND",
],
],
],
],
];
And the analyzer for the field is 'english'. How do I match for words like Water Wipes for waterwipes