From 6fefd9d45ec454ad0611480fdc53333db626e568 Mon Sep 17 00:00:00 2001 From: minman32 Date: Fri, 25 Jan 2019 12:08:34 -0800 Subject: [PATCH] Update31_Nested_mapping.asciidoc - wrong type string is not an excepted type. text is the correct type. --- 402_Nested/31_Nested_mapping.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/402_Nested/31_Nested_mapping.asciidoc b/402_Nested/31_Nested_mapping.asciidoc index a9475386a..b31c050c3 100644 --- a/402_Nested/31_Nested_mapping.asciidoc +++ b/402_Nested/31_Nested_mapping.asciidoc @@ -14,8 +14,8 @@ PUT /my_index "comments": { "type": "nested", <1> "properties": { - "name": { "type": "string" }, - "comment": { "type": "string" }, + "name": { "type": "text" }, + "comment": { "type": "text" }, "age": { "type": "short" }, "stars": { "type": "short" }, "date": { "type": "date" }