|
@@ -56,7 +56,7 @@ newlines. Example:
|
|
|
$ cat requests
|
|
|
{ "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } }
|
|
|
{ "field1" : "value1" }
|
|
|
-$ curl -s -XPOST localhost:9200/_bulk --data-binary @requests; echo
|
|
|
+$ curl -s -XPOST localhost:9200/_bulk --data-binary "@requests"; echo
|
|
|
{"took":7,"items":[{"create":{"_index":"test","_type":"type1","_id":"1","_version":1}}]}
|
|
|
--------------------------------------------------
|
|
|
|