The dynamic synonym plugin adds a synonym token filter that reloads the synonym file(local file or remote file) at given intervals (default 60s).
The dynamic synonym plugin adds a synonym token filter that reloads the synonym file(local file or remote file) at given intervals (default 60s).
The dynamic synonym plugin adds a synonym token filter that reloads the synonym file (local file or remote file) at given intervals (default 60s).
| dynamic synonym version | ES version |
|---|---|
| master | 8.x -> master |
| 7.4.2 | 7.4.2 |
| 6.1.4 | 6.1.4 |
| 5.2.0 | 5.2.0 |
| 5.1.1 | 5.1.1 |
| 2.3.0 | 2.3.0 |
| 2.2.0 | 2.2.0 |
| 2.1.0 | 2.1.0 |
| 2.0.0 | 2.0.0 |
| 1.6.0 | 1.6.X |
mvn package
copy and unzip target/releases/elasticsearch-analysis-dynamic-synonym-{version}.zip to your-es-root/plugins/dynamic-synonym
…type: dynamic_synonym or dynamic_synonym_graph, mandatory
synonyms_path: A file path relative to the Elastic config file or an URL, mandatory
interval: Refresh interval in seconds for the synonym file, default: 60, optional
ignore_case: Ignore case in synonyms file, default: false, optional
expand: Expand, default: true, optional
lenient: Lenient on exception thrown when importing a synonym, default: false, optional
format: Synonym file format, default: '', optional. For WordNet structure this can be set to 'wordnet'
Last-Modified and ETag http header. If one of these changes, the synonyms will be reloaded.Note: File encoding should be an utf-8 text file.
No open issues yet, or sync has not completed.