Hi, I am quiet new in elasticsearch and it's very hard to find right solution with all the possibilities elasticsearch offers. So maybe asking question here, will be easier.
I need a way to identify some category, for example if I give "some text labrador" it know that it has to search "some text" in the "dog" category. Would be the same with "some text doberman" "some text pitbull"... Then if I search for "some text maine coon" it know that it has to search for "some text" in the category "cat", the same would apply for "some text birman"...
Right now the only solution I see, is to use synonym, but it doesn't sound right to me. First it will be a huge list, since the breed of pets can be so large. Also there will be problem with compose breed, like "maine coon". And this will also bring synonym conflict, since some breed name could be related to different kind of pet: "siberian husky" and "siberian cat", "york" could be for "cat" and "dog".
What would be the best way to handle such use-case?