elasticsearch/docs/reference/mapping/fields
Salvatore Campagna 0eeef45ea2
Synthetic source support for flattened fields (#94842)
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
2023-04-11 10:54:28 +02:00
..
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 Prepare synthetic source docs for tech-preview (#89358) 2022-08-16 10:05:45 -04:00
synthetic-source.asciidoc Synthetic source support for flattened fields (#94842) 2023-04-11 10:54:28 +02:00
tier-field.asciidoc