OpenSearch/modules
Alan Woodward 8c16725a0d Check for deprecations when analyzers are built (#50908)
Generally speaking, deprecated analysis components in elasticsearch will issue deprecation
warnings when they are first used. However, this means that no warnings are emitted when
indexes are created with deprecated components, and users have to actually index a document
to see warnings. This makes it much harder to see these warnings and act on them at
appropriate times.

This is worse in the case where components throw exceptions on upgrade. In this case, users
will not be aware of a problem until a document is indexed, instead of at index creation time.

This commit adds a new check that pushes an empty string through all user-defined analyzers
and normalizers when an IndexAnalyzers object is built for each index; deprecation warnings
and exceptions are now emitted when indexes are created or opened.

Fixes #42349
2020-01-14 13:52:02 +00:00
..
aggs-matrix-stats Declare remaining parsers `final` (#50571) (#50615) 2020-01-03 11:48:11 -05:00
analysis-common Check for deprecations when analyzers are built (#50908) 2020-01-14 13:52:02 +00:00
ingest-common [7.x] Foreach processor - fork recursive call (#50514) (#50773) 2020-01-09 13:21:18 -06:00
ingest-geoip Allow list of IPs in geoip ingest processor (#49573) (#49947) 2019-12-07 00:19:09 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#47807) 2019-10-18 16:26:48 +02:00
lang-expression Upgrade to Lucene 8.4.0. (#50518) (#50750) 2020-01-08 18:53:59 +01:00
lang-mustache Scripting: ScriptFactory not required by compile (#50344) (#50392) 2019-12-19 12:50:25 -07:00
lang-painless Guess root cause support unwrap (#50525) (#50742) 2020-01-08 19:09:14 +01:00
mapper-extras Add per-field metadata. (#50333) 2020-01-08 16:21:18 +01:00
parent-join Fix NPE bug inner_hits (#50709) 2020-01-07 14:21:54 -05:00
percolator Correctly handle MSM for nested disjunctions (#50669) 2020-01-07 09:32:30 +00:00
rank-eval Add a cluster setting to disallow loading fielddata on _id field (#49166) 2019-11-28 09:35:28 +01:00
reindex Use Void context on parsers where possible (#50573) (#50617) 2020-01-03 13:28:55 -05:00
repository-url Remove Unused Single Delete in BlobStoreRepository (#50024) (#50123) 2019-12-12 11:17:46 +01:00
systemd Extend systemd timeout during startup (#49784) 2019-12-03 14:25:45 -05:00
transport-netty4 Stop Allocating Buffers in CopyBytesSocketChannel (#49825) (#49832) 2019-12-04 19:36:52 +01:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00