瀏覽代碼

Add missing comma in JSON data in curl example

Relates #18227
Zack Dever 9 年之前
父節點
當前提交
5a7edf992c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/reference/indices/create-index.asciidoc

+ 1 - 1
docs/reference/indices/create-index.asciidoc

@@ -17,7 +17,7 @@ associated with it.
 $ curl -XPUT 'http://localhost:9200/twitter/' -d '{
     "settings" : {
         "index" : {
-            "number_of_shards" : 3 <1>
+            "number_of_shards" : 3, <1>
             "number_of_replicas" : 2 <2>
         }
     }