Synthetic _source's array flattening activities can remove some arrays entirely. Specifically: ``` { "foo": [ { "bar": 1 }, { "baz": 2 } ] } ``` Turns into: ``` { "foo": { "bar": 1, "baz": 2 } } ``` See, no more array! It's because the values are flattend to the leaf fields and didn't have multiple values. This is implied by the docs we had, but sure wasn't obvious. So now it's documented specifically. |
||
---|---|---|
.. | ||
dynamic | ||
fields | ||
params | ||
types | ||
dynamic-mapping.asciidoc | ||
explicit-mapping.asciidoc | ||
fields.asciidoc | ||
mapping-settings-limit.asciidoc | ||
params.asciidoc | ||
removal_of_types.asciidoc | ||
runtime.asciidoc | ||
types.asciidoc |