Skip to content

Commit

Permalink
ignore_malformed does not work on TEXT fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
worldjoe committed Jun 11, 2019
1 parent df04fc0 commit 229e751
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/reference/mapping/params/ignore-malformed.asciidoc
Expand Up @@ -98,10 +98,11 @@ You can't use `ignore_malformed` with the following datatypes:
* <<nested, Nested datatype>>
* <<object, Object datatype>>
* <<range, Range datatypes>>
* <<text, Text datatypes>>

You also can't use `ignore_malformed` to ignore JSON objects submitted to fields
of the wrong datatype. A JSON object is any data surrounded by curly brackets
`"{}"` and includes data mapped to the nested, object, and range datatypes.

If you submit a JSON object to an unsupported field, {es} will return an error
and reject the entire document regardless of the `ignore_malformed` setting.
and reject the entire document regardless of the `ignore_malformed` setting.

0 comments on commit 229e751

Please sign in to comment.