Hi, i would like to make a fuzzysearch with elasticsearch php client.
I try the follow code:
$params = [ 'index' => 'bank', 'type' => 'account', 'size' => 1000, 'body' => [ 'query' => [ 'match' => [ 'address' => [ 'query' => 'Avenue Bath', 'fuzziness' => 'AUTO', 'operator' => 'and' ] ] ] ] ];
I got the right results where address has avenue and bath. But what is if i want results even i enter only some characters like ave and ba?
Do i need an analyzer for this or how can i make this work?
thanks for helping...