[DOCS] Document `include_in_*` nested mapping parms (#52648)
Adds documentation for the `include_in_parent` and `include_in_root` mapping parameters for the `nested` mapping datatype.
This commit is contained in:
parent
e2aa5bc174
commit
1a14ae4e1b
|
@ -183,18 +183,26 @@ or <<request-body-search-stored-fields, `stored_fields`>>.
|
||||||
|
|
||||||
The following parameters are accepted by `nested` fields:
|
The following parameters are accepted by `nested` fields:
|
||||||
|
|
||||||
[horizontal]
|
|
||||||
<<dynamic,`dynamic`>>::
|
<<dynamic,`dynamic`>>::
|
||||||
|
(Optional, string)
|
||||||
Whether or not new `properties` should be added dynamically to an existing
|
Whether or not new `properties` should be added dynamically to an existing
|
||||||
nested object. Accepts `true` (default), `false` and `strict`.
|
nested object. Accepts `true` (default), `false` and `strict`.
|
||||||
|
|
||||||
<<properties,`properties`>>::
|
<<properties,`properties`>>::
|
||||||
|
(Optional, object)
|
||||||
|
The fields within the nested object, which can be of any
|
||||||
|
<<mapping-types,datatype>>, including `nested`. New properties
|
||||||
|
may be added to an existing nested object.
|
||||||
|
|
||||||
The fields within the nested object, which can be of any
|
`include_in_parent`::
|
||||||
<<mapping-types,datatype>>, including `nested`. New properties
|
(Optional, boolean)
|
||||||
may be added to an existing nested object.
|
If `true`, all fields in the nested object are also added to the parent document
|
||||||
|
as standard (flat) fields. Defaults to `false`.
|
||||||
|
|
||||||
|
`include_in_root`::
|
||||||
|
(Optional, boolean)
|
||||||
|
If `true`, all fields in the nested object are also added to the root
|
||||||
|
document as standard (flat) fields. Defaults to `false`.
|
||||||
|
|
||||||
[float]
|
[float]
|
||||||
=== Limits on `nested` mappings and objects
|
=== Limits on `nested` mappings and objects
|
||||||
|
|
Loading…
Reference in New Issue