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" }