Browse Source

Merge pull request #14738 from petmit/patch-1

Update error in documentation for multi-fields
Clinton Gormley 10 years ago
parent
commit
728cc5137a
1 changed files with 6 additions and 6 deletions
  1. 6 6
      docs/reference/mapping/params/multi-fields.asciidoc

+ 6 - 6
docs/reference/mapping/params/multi-fields.asciidoc

@@ -83,12 +83,12 @@ PUT my_index
     "my_type": {
       "properties": {
         "text": { <1>
-          "type": "string"
-        },
-        "fields": {
-          "english": { <2>
-            "type":     "string",
-            "analyzer": "english"
+          "type": "string",
+          "fields": {
+            "english": { <2>
+              "type":     "string",
+              "analyzer": "english"
+            }
           }
         }
       }