I am looking into the synonym token filter and the Elasticsearch documentation recommends that when you work with large synonym datasets you should set the
synonyms_path to a file over inserting synonyms directly into the configuration file.
But the documentation tells not why. Is it just because of maintainability? That you do not want scroll through thousands of synonyms to check your configuration/mapping?
And how does Elastcisearch handle this synonym file? Are the contents of the file loaded into memory after an configuration update?
Thanks in advance!