Browse Source

Update core-types.asciidoc

Missing bracket
eliasah 11 years ago
parent
commit
c61110c28d
1 changed files with 7 additions and 4 deletions
  1. 7 4
      docs/reference/mapping/types/core-types.asciidoc

+ 7 - 4
docs/reference/mapping/types/core-types.asciidoc

@@ -617,10 +617,13 @@ property, as this example shows:
 [source,js]
 --------------------------------------------------
 {
-  "book" : {
-    "properties" : {
-      "title" : { "type" : "string", "similarity" : "BM25" }
-    }
+   "book":{
+      "properties":{
+         "title":{
+            "type":"string", "similarity":"BM25" 
+         }
+      }
+   }
 }
 --------------------------------------------------