Just started wtih elasticsearch. And stuck with a question:
I have following strings in my es index:
"favourites", "favourites\a1"
If I try to search only first string with
'query' => [
    'match' => [
        'name' => 'favourites'
    ]
],
or
'filtered' => [
    'filter' => [
        'term' => [
            'name' => 'favourites'
        ],
    ]
]
It matchs both. How to solve it?