Variant Generator


(Nizsheanez) #1

Hello. I have query "iphone white" and 2 rules: i can replace "white" to "black" and "iphone" to "xiaomi" - can i somehow ask ElasticSearch generate for me all possible variants: "iphone white", "iphone black", "xiaomi white", "xiaomi black"?


(Mark Walkom) #2

https://www.elastic.co/guide/en/elasticsearch/guide/current/using-synonyms.html may be what you are after.


(system) #3