Likewise any of the other terms entered to search should return all the same matches as above (if searching for "lawn mower" or "grass cutter")
I am looking to implement the SynonymFilter but I can't grasp how I need to do this to achieve what we want - I have had some success mapping one term to another but I can't work out how to extend this to 3 or more terms in a "group" of similar terms.
So I will have to add the following combinations always to my SynonymMap :
a > b, b > a, a > c, c > a, b > c and c > b?
Am I looking to do this in both the built index and the incoming query? In my source data I could have different variations of the term, and obviously I cannot predict how people will search for it. Or is it good enough to only process the query to look for all the alternate terms?
Do I retain the original value in the Map when adding the synonym? I can't "see" what is being created to know what is going on under the hood so I can work out the best approach.