Skip to content

Commit a979ed1

Browse files
committed
Describe behavior with synthetic source keep arrays and ignored and malformed values.
Backporting elastic#143230 to 8.19 branch.
1 parent 261c229 commit a979ed1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/reference/mapping/fields/synthetic-source.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ This is controlled through param `synthetic_source_keep` with the following opti
218218
The synthetic source fragment for such arrays is not guaranteed to match the original source exactly, e.g. array
219219
`[1, 2, [5], [[4, [3]]], 5]` may appear as-is or in an equivalent format like `[1, 2, 5, 4, 3, 5]`. The exact format
220220
may change in the future, in an effort to reduce the storage overhead of this option.
221+
Additionally, if `index.mapping.ignore_above` or `index.mapping.ignore_malformed` index settings are enabled then
222+
malformed or ignored elements are always appended last in unspecified order.
221223
- `all`: the source for both singleton instances and arrays of the corresponding field or object gets recorded. When
222224
applied to objects, the source of all sub-objects and sub-fields gets captured. Furthermore, the original source of
223225
arrays gets captured and appears in synthetic source with no modifications.

0 commit comments

Comments
 (0)