Browse Source

Docs: Update object-type.asciidoc to make object type more explicit

Closes #7646
Clinton Gormley 11 years ago
parent
commit
66cd3ad17e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      docs/reference/mapping/types/object-type.asciidoc

+ 1 - 0
docs/reference/mapping/types/object-type.asciidoc

@@ -43,6 +43,7 @@ The following is an example of explicit mapping for the above JSON:
                 "type" : "object",
                 "properties" : {
                     "name" : {
+                        "type" : "object",
                         "properties" : {
                             "first_name" : {"type" : "string"},
                             "last_name" : {"type" : "string"}