소스 검색

Merge pull request #13515 from elastic/docsfix

Fix for mappings->_source example in docs
Nik Everett 10 년 전
부모
커밋
b205875c43
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  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
+      }
     }
   }
 }