File tree 1 file changed +9
-6
lines changed
docs/reference/mapping/params
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,15 @@ have malformed fields by using `exist` or `term` queries on the special
92
92
<<mapping-ignored-field,`_ignored`>> field.
93
93
94
94
==== 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:
100
96
101
97
* <<nested, Nested datatype>>
102
98
* <<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.
You can’t perform that action at this time.
0 commit comments