Shane Connelly 10 years ago
parent
commit
d86c1e8769
1 changed files with 5 additions and 4 deletions
  1. 5 4
      docs/reference/mapping/fields/source-field.asciidoc

+ 5 - 4
docs/reference/mapping/fields/source-field.asciidoc

@@ -15,10 +15,11 @@ within the index. For this reason, it can be disabled as follows:
 --------------------------------------------------
 PUT tweets
 {
-  "mappings": {},
-  "tweet": {
-    "_source": {
-      "enabled": false
+  "mappings": {
+    "tweet": {
+      "_source": {
+        "enabled": false
+      }
     }
   }
 }