How to set the synonym by using dynamic settings?


(Red) #1

my synonym configure is in one file, and the file path is configured in the elasticsearch.yml,
i now want to change the settings in the synonym file. how to do it?

can anyone give me an example?

https://www.elastic.co/guide/en/elasticsearch/guide/current/_changing_settings_dynamically.html

i cant find any way from the url above.


(Mark Walkom) #2

https://www.elastic.co/guide/en/elasticsearch/reference/2.1/analysis-synonym-tokenfilter.html

You need to update the mapping/template. However it won't apply to documents already indexed.


(system) #3