diff --git a/docs/reference/query-dsl/exists-query.asciidoc b/docs/reference/query-dsl/exists-query.asciidoc index b286670ff60..f0e76852da1 100644 --- a/docs/reference/query-dsl/exists-query.asciidoc +++ b/docs/reference/query-dsl/exists-query.asciidoc @@ -54,11 +54,11 @@ instance, if the `user` field were mapped as follows: -------------------------------------------------- PUT /example { - "mapping": { + "mappings": { "doc": { "properties": { "user": { - "type": "text", + "type": "keyword", "null_value": "_null_" } }