Here are my tests:
Using match
{"query":{"bool":{"must":[{"match":{"name":{"query":"ka"}}},{"term":{"kind":"k1"}}]}}}
0 hits
Then using query_string
{"query":{"bool":{"must":[{"query_string":{"fields":["name"],"query":"*ka*"}},{"term":{"kind":"k1"}}]}}}
about 1000+ hits
Some names such as "katyperry", "KathleenLights" etc. They can not be found by using match
In addition, another example that make me even have more doubt is, when I use match to search email
{"query": {"bool": {"must": [{ "match":{"email":"[email protected]"}}]}}}
ES returns all emails which contain "gmail.com"
So how "match" works in these cases ?