mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Here we add synthetic source support for fields whose type is flattened. Note that flattened fields and synthetic source have the following limitations, all arising from the fact that in synthetic source we just see key/value pairs when reconstructing the original object and have no type information in mappings: * flattened fields use sorted set doc values of keywords, which means two things: first we do not allow duplicate values, second we treat all values as keywords * reconstructing array of objects results in nested objects (no array) * reconstructing arrays with just one element results in a single-value field since we have no way to distinguish single-valued from multi-values fields other then looking at the count of values |
||
---|---|---|
.. | ||
doc-count-field.asciidoc | ||
field-names-field.asciidoc | ||
id-field.asciidoc | ||
ignored-field.asciidoc | ||
index-field.asciidoc | ||
meta-field.asciidoc | ||
routing-field.asciidoc | ||
source-field.asciidoc | ||
synthetic-source.asciidoc | ||
tier-field.asciidoc |