I am newbie to elastic. I have data in elasticsearch, with field post_title :
- Chocolate
- Hot
- Homemade
I expect to get 'ho' (exact match) as first result when I search 'ho'
like this:
- Homemade
- Hot
- chocolate
I have tried "match", "match_phrase", "prefix" and "wildcard" in my query, but it doesn't work.
What should I do to put the exact match into first result?