Skip to content

Commit 99f135d

Browse files
committed
[DOCS] Revise limits for JSON objects
1 parent 15e8638 commit 99f135d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/reference/mapping/params/ignore-malformed.asciidoc

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,15 @@ have malformed fields by using `exist` or `term` queries on the special
9292
<<mapping-ignored-field,`_ignored`>> field.
9393

9494
==== Limits for JSON Objects
95-
96-
You can't use `ignore_malformed` to index JSON objects into field datatypes used
97-
for other data formats, like `text` or `integer`.
98-
99-
Similarly, `ignore_malformed` does not support datatypes used for JSON objects, including:
95+
You can't use `ignore_malformed` with the following datatypes:
10096

10197
* <<nested, Nested datatype>>
10298
* <<object, Object datatype>>
103-
* <<range, Range datatypes>>
99+
* <<range, Range datatypes>>
100+
101+
You also can't use `ignore_malformed` to ignore JSON objects submitted to fields
102+
of the wrong datatype. A JSON object is any data surrounded by curly brackets
103+
`"{}"` and includes data mapped to the nested, object, and range datatypes.
104+
105+
If you submit a JSON object to an unsupported field, {es} will return an error
106+
and reject the entire document regardless of the `ignore_malformed` setting.

0 commit comments

Comments
 (0)