my synonyms file has currently only explicit and equivalent synonyms with only one word.
Can elasticsearch handle multi word synonyms?
this is a sentence, another one, something else => fancy stuff, such great synonyms, much difficult
I found some documentations but these dont include synonyms in files and i just wanted to be sure before i am going to edit the file.
good question. Multi-token synonyms are supported but were always a bit tricky. See https://www.elastic.co/blog/multitoken-synonyms-and-graph-queries-in-elasticsearch for quite a good overview. Nowerdays I think using Synonym Graph Token Filter at search time is the thing to start with. This also has some documentation about the suported file format.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.