OpenSearch/x-pack/plugin
Lee Hinman 9eddd2bcc9
[7.x] Add prefer_v2_templates flag and index setting (#55411) (#55476)
This commit adds a new querystring parameter on the following APIs:
- Index
- Update
- Bulk
- Create Index
- Rollover

These APIs now support a `?prefer_v2_templates=true|false` flag. This flag changes the preference
creation to use either V2 index templates or V1 templates. This flag defaults to `false` and will be
changed to `true` for 8.0+ in subsequent work.

Additionally, setting this flag internally sets the `index.prefer_v2_templates` index-level setting.
This setting is used so that actions that automatically create a new index (things like rollover
initiated by ILM) will inherit the preference from the original index. This setting is dynamic so
that a transition from v1 to v2 templates can occur for long-running indices grouped by an alias
performing periodic rollover.

This also adds support for sending this parameter to the High Level Rest Client.

Relates to #53101
2020-04-20 12:05:42 -06:00
..
analytics Convert InternalAggTestCase to AbstractNamedWriteableTestCase (#55250) 2020-04-17 16:39:38 -04:00
async-search Add RepositoriesService to createComponents() args (#54814) 2020-04-16 16:27:36 +01:00
autoscaling Add wire tests for get autoscaling decision objects 2020-04-05 21:34:36 -04:00
ccr [7.x] Add prefer_v2_templates flag and index setting (#55411) (#55476) 2020-04-20 12:05:42 -06:00
core Fix and unmute testSetUpgradeMode_ExistingTaskGetsUnassigned (#55368) (#55452) 2020-04-20 13:29:29 +02:00
deprecation Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
enrich Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
eql Add RepositoriesService to createComponents() args (#54814) 2020-04-16 16:27:36 +01:00
frozen-indices Rename MetaData to Metadata in all of the places (#54519) 2020-03-31 17:24:38 -04:00
graph Mute GraphTests.testTimedoutQueryCrawl (#55397) 2020-04-17 15:31:48 +02:00
identity-provider Rest spec and documentation (#54664) (#55305) 2020-04-16 20:18:05 +03:00
ilm Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
logstash Reintroduce system index APIs for Kibana (#54935) 2020-04-08 09:08:49 -06:00
mapper-constant-keyword [7.x] Backport ValuesSourceRegistry and related work (#54922) 2020-04-16 16:54:46 -04:00
mapper-flattened [7.x] Backport ValuesSourceRegistry and related work (#54922) 2020-04-16 16:54:46 -04:00
ml Disable monitoring in ML multinode tests (#55461) 2020-04-20 10:51:16 -04:00
monitoring Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
ql SQL: drop BASE TABLE type in favour for just TABLE (#54836) (#54951) 2020-04-08 16:02:12 +02:00
rollup Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
search-business-rules [7.x] Create new `geo` module and migrate geo_shape registration (#53562) (#54924) 2020-04-07 16:30:58 -07:00
searchable-snapshots Use soft deletes for searchable snapshots tests (#55453) 2020-04-20 14:37:51 +01:00
security Upgrade feature aware check usage of ASM to 7.3.1 (#54577) 2020-04-18 10:49:57 -04:00
spatial [7.x] Create new `geo` module and migrate geo_shape registration (#53562) (#54924) 2020-04-07 16:30:58 -07:00
sql Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
src/test Remove normalizer support from wildcard field while we decide on approach for handling case insensitvity (#55294) (#55375) 2020-04-17 11:43:26 +01:00
transform Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
vectors Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
voting-only-node Add RepositoriesService to createComponents() args (#54814) 2020-04-16 16:27:36 +01:00
watcher Deprecate disabling basic-license features (#54816) (#55405) 2020-04-17 15:04:17 -04:00
wildcard Remove normalizer support from wildcard field while we decide on approach for handling case insensitvity (#55294) (#55375) 2020-04-17 11:43:26 +01:00
build.gradle Upgrade feature aware check usage of ASM to 7.3.1 (#54577) 2020-04-18 10:49:57 -04:00