We are building a searchmachine with elasticsearch to use intern in our company. We are using one inputfield where users can give in their searchwords (Google like). So it should be possible to search on different kind of words separate by spaces.
Because it is possible to search on names, and names can be written on different kind of ways, we would like to treat different characters as equal.
For example the name "Heymans" can be written like "Hymans", "Heimans", "Hijmans", ...
If a user search on "Hijmans", "Heymans" should be found with, preferably, the same score when searching on "Heymans".
Is it possible to set "ei", "ij", "ey" as equal values? We know that there is the synonym feature, but if we do it that way, the scores are very low.
We do not want to set "Hymans", "Heimans", "Hijmans" as synoniems, because there are other names with the same problem...
Thanks for the help!