elasticsearch/docs/reference
Julie Tibshirani 36a3b84fc9
Update the default for include_type_name to false. (#37285)
* Default include_type_name to false for get and put mappings.

* Default include_type_name to false for get field mappings.

* Add a constant for the default include_type_name value.

* Default include_type_name to false for get and put index templates.

* Default include_type_name to false for create index.

* Update create index calls in REST documentation to use include_type_name=true.

* Some minor clean-ups around the get index API.

* In REST tests, use include_type_name=true by default for index creation.

* Make sure to use 'expression == false'.

* Clarify the different IndexTemplateMetaData toXContent methods.

* Fix FullClusterRestartIT#testSnapshotRestore.

* Fix the ml_anomalies_default_mappings test.

* Fix GetFieldMappingsResponseTests and GetIndexTemplateResponseTests.

We make sure to specify include_type_name=true during xContent parsing,
so we continue to test the legacy typed responses. XContent generation
for the typeless responses is currently only covered by REST tests,
but we will be adding unit test coverage for these as we implement
each typeless API in the Java HLRC.

This commit also refactors GetMappingsResponse to follow the same appraoch
as the other mappings-related responses, where we read include_type_name
out of the xContent params, instead of creating a second toXContent method.
This gives better consistency in the response parsing code.

* Fix more REST tests.

* Improve some wording in the create index documentation.

* Add a note about types removal in the create index docs.

* Fix SmokeTestMonitoringWithSecurityIT#testHTTPExporterWithSSL.

* Make sure to mention include_type_name in the REST docs for affected APIs.

* Make sure to use 'expression == false' in FullClusterRestartIT.

* Mention include_type_name in the REST templates docs.
2019-01-14 13:08:01 -08:00
..
aggregations Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
analysis Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
cat Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
ccr Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
cluster [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
commands [DOCS] Update X-Pack terminology in security docs (#36564) 2018-12-19 14:53:37 -08:00
docs Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
how-to Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
ilm Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
images Move ODBC documentation to elasticsearch repository (#36955) 2018-12-27 11:55:20 +02:00
index-modules Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
indices Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
ingest Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
licensing [DOCS] Synchs titles of X-Pack APIs 2018-12-20 10:27:24 -08:00
mapping Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
migration Security: remove SSL settings fallback (#36846) 2019-01-14 14:06:22 -07:00
ml Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
modules Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
monitoring remove + references for xpack.monitoring.collection.indices (#37282) 2019-01-10 17:06:44 -06:00
query-dsl Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
release-notes [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
rest-api [DOCS] Update X-Pack terminology in security docs (#36564) 2018-12-19 14:53:37 -08:00
rollup [Docs] Fix wrong math in overview.asciidoc (#37209) 2019-01-08 10:25:02 +01:00
search Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
security Security: remove SSL settings fallback (#36846) 2019-01-14 14:06:22 -07:00
settings Security: remove SSL settings fallback (#36846) 2019-01-14 14:06:22 -07:00
setup [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
sql SQL: Proper handling of COUNT(field_name) and COUNT(DISTINCT field_name) (#37254) 2019-01-10 09:51:51 +02:00
testing [Docs] Remove repeating words (#33087) 2018-08-28 13:16:43 +02:00
upgrade [DOCS] Rolling upgrade with old internal indices (#37184) 2019-01-09 18:14:22 +02:00
aggregations.asciidoc [Docs] Update aggregations.asciidoc (#29265) 2018-03-28 15:01:45 +02:00
analysis.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
api-conventions.asciidoc [DOCS] Synchronizes captialization in top-level titles (#33605) 2018-09-27 08:36:18 -07:00
cat.asciidoc Rename the bulk thread pool to write thread pool (#29593) 2018-04-19 08:18:58 -04:00
cluster.asciidoc [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
docs.asciidoc Document Seq No powered optimistic concurrency control (#37284) 2019-01-11 07:59:15 -08:00
frozen-indices.asciidoc Expose search.throttled on _cat/indices (#37073) 2019-01-04 13:49:40 +01:00
getting-started.asciidoc Add doc's sequence number + primary term to GetResult and use it for updates (#36680) 2018-12-17 15:22:13 +01:00
glossary.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
index.asciidoc Add a _freeze / _unfreeze API (#35592) 2018-11-20 08:03:24 +01:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
mapping.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
modules.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
release-notes.asciidoc [DOCS] Adds placeholder for alpha2 release notes 2018-12-11 14:26:41 -08:00
search.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
setup.asciidoc [DOCS] Starting Elasticsearch (#31701) 2018-07-03 13:40:37 -07:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc Revert "[DOCS] Added 6.3 info & updated the upgrade table. (#30940)" 2018-06-11 22:04:36 -04:00