summaryrefslogtreecommitdiff
path: root/docs/reference/mapping/params/coerce.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'docs/reference/mapping/params/coerce.asciidoc')
-rw-r--r--docs/reference/mapping/params/coerce.asciidoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/mapping/params/coerce.asciidoc b/docs/reference/mapping/params/coerce.asciidoc
index dacdabaafc..d3e158185b 100644
--- a/docs/reference/mapping/params/coerce.asciidoc
+++ b/docs/reference/mapping/params/coerce.asciidoc
@@ -45,7 +45,7 @@ PUT my_index/my_type/2
}
--------------------------------------------------
// CONSOLE
-// TEST[catch:request]
+// TEST[catch:bad_request]
<1> The `number_one` field will contain the integer `10`.
<2> This document will be rejected because coercion is disabled.
@@ -88,6 +88,6 @@ PUT my_index/my_type/2
{ "number_two": "10" } <2>
--------------------------------------------------
// CONSOLE
-// TEST[catch:request]
+// TEST[catch:bad_request]
<1> The `number_one` field overrides the index level setting to enable coercion.
<2> This document will be rejected because the `number_two` field inherits the index-level coercion setting.