OpenSearch/x-pack/plugin
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
..
ccr Replace Streamable w/ Writable in AcknowledgedResponse and subclasses (backport 7.x) (#43525) 2019-06-24 13:47:37 +02:00
core Allow reloading of search time analyzers (#43313) 2019-06-28 09:55:40 +02:00
data-frame [7.x] [ML] Tag destination index with data frame metadata (#43567) (#43660) 2019-06-27 08:08:39 +02:00
deprecation Remove nodeId from BaseNodeRequest (#43658) 2019-06-27 18:45:14 -07:00
graph Testclusters: graph (#43033) 2019-06-13 09:50:59 +03:00
ilm Replace Streamable w/ Writable in AcknowledgedResponse and subclasses (backport 7.x) (#43525) 2019-06-24 13:47:37 +02:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
ml Add version and create_time to data frame analytics config (#43683) (#43712) 2019-06-28 07:37:21 +02:00
monitoring Return 0 for negative "free" and "total" memory reported by the OS (#42725) 2019-06-19 10:35:48 -06:00
rollup Replace Streamable w/ Writable in AcknowledgedResponse and subclasses (backport 7.x) (#43525) 2019-06-24 13:47:37 +02:00
security Remove nodeId from BaseNodeRequest (#43658) 2019-06-27 18:45:14 -07:00
sql Remove nodeId from BaseNodeRequest (#43658) 2019-06-27 18:45:14 -07:00
src/test Allow reloading of search time analyzers (#43313) 2019-06-28 09:55:40 +02:00
vectors Fix eclipse build gradle for vectors project 2019-06-24 09:22:48 -04:00
voting-only-node Handle situation where only voting-only nodes are bootstrapped (#43628) 2019-06-27 18:10:15 +02:00
watcher Remove nodeId from BaseNodeRequest (#43658) 2019-06-27 18:45:14 -07:00
build.gradle Testclusters: conver remaining x-pack (#43335) 2019-06-24 12:07:42 +03:00