OpenSearch/plugin
Dimitris Athanasiou 2aeff7713c [ML] Parsing objects from internal indices should be lenient (elastic/x-pack-elasticsearch#4256)
All ML objects stored in internal indices are currently parsed
strictly. This means unknown fields lead to parsing failures.
In turn, this means we cannot add new fields in any of those
objects (e.g. bucket, record, calendar, etc.) as it is not
backwards compatible.

This commit changes this by introducing lenient parsing when
it comes to reading those objects from the internal indices.
Note we still use strict parsing for the objects we read from
the c++ process, which is nice as it guarantees we would detect
if any of the fields were renamed on one side but not the other.

Also note that even though this is going in from 6.3, we cannot
introduce new fields until 7.0.

relates elastic/x-pack-elasticsearch#4232

Original commit: elastic/x-pack-elasticsearch@3f95d3c7b9
2018-03-29 17:32:57 +01:00
..
bwc Relax remote check for bwc project checkouts (elastic/x-pack-elasticsearch#3924) 2018-02-13 14:54:38 -06:00
core [ML] Parsing objects from internal indices should be lenient (elastic/x-pack-elasticsearch#4256) 2018-03-29 17:32:57 +01:00
deprecation Decouple XContentBuilder from BytesReference (elastic/x-pack-elasticsearch#4119) 2018-03-14 13:48:05 -06:00
graph [TEST] Add deterministic routing of docs to shards to prevent 2018-02-19 15:46:51 +00:00
logstash [Logstash][Monitoring] Fix Registered Usage and Add Tests (elastic/x-pack-elasticsearch#4075) 2018-03-08 14:53:05 -08:00
ml [ML] Parsing objects from internal indices should be lenient (elastic/x-pack-elasticsearch#4256) 2018-03-29 17:32:57 +01:00
monitoring [Monitoring] Remove 202 responses in favor of 200 responses (elastic/x-pack-elasticsearch#4213) 2018-03-26 11:36:04 -04:00
rollup [Rollup] Don't persist state if aborting 2018-03-28 13:01:58 +00:00
security Add secure_bind_password to LDAP realm (elastic/x-pack-elasticsearch#4192) 2018-03-29 16:31:45 +10:00
sql SQL: Introduce CSV and TSV tabular output (elastic/x-pack-elasticsearch#4190) 2018-03-23 12:23:00 +02:00
src/test [ML] Cap default model_memory_limit in the ML info API (elastic/x-pack-elasticsearch#4249) 2018-03-28 16:05:42 +01:00
upgrade Disable security for trial licenses by default (elastic/x-pack-elasticsearch#4120) 2018-03-21 21:09:44 -06:00
watcher Adjust to XContentBuilder decoupling (elastic/x-pack-elasticsearch#4212) 2018-03-27 12:58:26 -06:00
build.gradle Disable security for trial licenses by default (elastic/x-pack-elasticsearch#4120) 2018-03-21 21:09:44 -06:00