OpenSearch/docs/reference/aggregations/bucket
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
..
adjacency-matrix-aggregation.asciidoc Docs - removed experimental/beta markers from adjacency matrix aggregation (#34599) 2018-10-19 09:33:59 +01:00
autodatehistogram-aggregation.asciidoc Add interval response parameter to AutoDateInterval histogram (#33254) 2018-09-05 07:35:59 -04:00
children-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
composite-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
datehistogram-aggregation.asciidoc [Docs] Fix typo in datehistogram-aggregation.asciidoc (#35855) 2018-11-23 15:16:53 +01:00
daterange-aggregation.asciidoc Document and test date_range "missing" support (#28983) 2018-03-13 12:58:30 -07:00
diversified-sampler-aggregation.asciidoc Adds deprecation logging to ScriptDocValues#getValues. (#34279) 2018-11-27 14:30:13 -05:00
filter-aggregation.asciidoc Update filter-aggregation.asciidoc (#24138) 2017-04-17 18:46:13 -04:00
filters-aggregation.asciidoc filters agg docs duplicated 'bucket' word removal (#30677) 2018-05-17 15:21:50 +01:00
geodistance-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
geohashgrid-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
global-aggregation.asciidoc CONSOLE-ify global-aggregation.asciidoc 2017-01-20 14:36:51 -05:00
histogram-aggregation.asciidoc [DOC] Fix mathematical representation on interval (range) (#27450) 2017-11-21 17:06:26 +00:00
iprange-aggregation.asciidoc Ensure that ip_range aggregations always return bucket keys. (#30701) 2018-05-24 08:55:14 -07:00
missing-aggregation.asciidoc CONSOLEify some more aggregation docs 2017-05-16 17:25:24 -04:00
nested-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
parent-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
range-aggregation.asciidoc [Docs] Convert remaining code snippets in docs (#26422) 2017-08-30 12:11:10 +02:00
reverse-nested-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
sampler-aggregation.asciidoc Update experimental labels in the docs (#25727) 2017-07-18 14:06:22 +02:00
significantterms-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00
significanttext-aggregation.asciidoc Remove single shard optimization when suggesting shard_size (#37041) 2019-01-02 17:45:49 +01:00
terms-aggregation.asciidoc Update the default for include_type_name to false. (#37285) 2019-01-14 13:08:01 -08:00