2015-02-12から1日間の記事一覧

Elasticsearchのコードを読んでみる③ Bulk編

ほとんど更新と一緒だけど、運用する時はBulkのがよく使うと思うので簡単に。 curl -XPOST localhost:9200/_bulk -d ' { "index" : { "_index" : "test", "_type" : "type1", "_id" : "1" } } { "field1" : "value1" } { "delete" : { "_index" : "test", "_…