OpenSearch/docs/reference/indices/apis
Christoph Büscher 2cc7f5a744
Allow reloading of search time analyzers (#43313)
Currently changing resources (like dictionaries, synonym files etc...) of search
time analyzers is only possible by closing an index, changing the underlying
resource (e.g. synonym files) and then re-opening the index for the change to
take effect.

This PR adds a new API endpoint that allows triggering reloading of certain
analysis resources (currently token filters) that will then pick up changes in
underlying file resources. To achieve this we introduce a new type of custom
analyzer (ReloadableCustomAnalyzer) that uses a ReuseStrategy that allows
swapping out analysis components. Custom analyzers that contain filters that are
markes as "updateable" will automatically choose this implementation. This PR
also adds this capability to `synonym` token filters for use in search time
analyzers.

Relates to #29051
2019-06-28 09:55:40 +02:00
..
freeze.asciidoc [DOCS] Synchs titles of X-Pack APIs 2018-12-20 10:27:24 -08:00
reload-analyzers.asciidoc Allow reloading of search time analyzers (#43313) 2019-06-28 09:55:40 +02:00
unfreeze.asciidoc [DOCS] Synchs titles of X-Pack APIs 2018-12-20 10:27:24 -08:00