Hi, I'm relatively new to elasticsearch and I'm not sure what is the best approach to achieve what I want, but this is what I've been trying:
I have a list of dog breeds in an Index and given the input "0293 Corki USA" to elasticsearch I want to get the breed "Corki" in return, just one best match.
- The input breed can have multiple words. E.g German Shepard.
- There is the possibility of having some trash in the input, like "0293".
- It is possible that there are misspelled inputs. E.g. Corik instead of Corki.
- I want to avoid false positives as much as possible. For example Input "English Terrier" and get "English Setter" as result.
I've been focusing on using Match Phrase Query and getting mixed results. Right now I'm exploring Phrase Suggester and try to use the suggestions as possible results.
Do I have better options to accomplish this?