From 5de2044c5b1ca5a3905368e9f91ba48ee587acdb Mon Sep 17 00:00:00 2001 From: loopmachine Date: Tue, 4 Aug 2015 14:02:03 -0400 Subject: [PATCH] Update nested-type.asciidoc mapping example --- docs/reference/mapping/types/nested-type.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/mapping/types/nested-type.asciidoc b/docs/reference/mapping/types/nested-type.asciidoc index d507f535af8..1427c93b8f3 100644 --- a/docs/reference/mapping/types/nested-type.asciidoc +++ b/docs/reference/mapping/types/nested-type.asciidoc @@ -76,7 +76,7 @@ uses type `nested`: { "type1" : { "properties" : { - "users" : { + "user" : { "type" : "nested", "properties": { "first" : {"type": "string" }, @@ -99,7 +99,7 @@ You may want to index inner objects both as `nested` fields *and* as flattened { "type1" : { "properties" : { - "users" : { + "user" : { "type" : "nested", "include_in_parent": true, "properties": {