bulk

[root@hadoop2 ~]# cat bulk.del.es.json
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005775.html"}}
{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005760.html"}}
[root@hadoop2 ~]#

[root@hadoop2 ~]# curl -XPOST hadoop2:9200/_bulk --data-binary @bulk.del.es.json
{"took":43,"errors":false,"items":[{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html","_version":1,"_shards":{"total":2,"successful":1,"failed":0},"status":404,"found":false}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html","_version":2,"_shards":{"total":2,"successful":1,"failed":0},"status":404,"found":false}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html","_version":3,"_shards":{"total":2,"successful":1,"failed":0},"status":404,"found":false}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html","_version":4,"_shards":{"total":2,"successful":1,"failed":0},"status":404,"found":false}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005770.html","_version":5,"_shards":{"total":2,"successful":1,"failed":0},"status":404,"found":false}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005775.html","_version":2,"_shards":{"total":2,"successful":1,"failed":0},"status":200,"found":true}},{"delete":{"_index":"direct_vote","_type":"kwaddress","_id":"b2b.88152.com/show-3005760.html","_version":2,"_shards":{"total":2,"successful":1,"failed":0},"status":200,"found":true}}]}[root@hadoop2 ~]#
[root@hadoop2 ~]#

最新文章

  1. 不可或缺 Windows Native (11) - C++: hello c++, C++ 与 C语言的区别小介
  2. 【leetcode❤python】237. Delete Node in a Linked List
  3. Latex 编译错误: ! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd fstartlink. 解决方法
  4. yum添加网易和搜狐源
  5. JS常用的7中跨域方式总结
  6. Delphi XE中类成员的访问权限(新增了strict private和strict protected,还有automated)
  7. 19个心得 明明白白说Linux下的负载均衡
  8. Omi框架学习之旅 - Hello World 及原理说明
  9. MSSQL 备份数据库还原
  10. [Coci2015]Divljak
  11. C#核心基础--类的继承
  12. 【Linux常见问题】SecureCRT 终端连接密钥交换失败错误
  13. 浅了解:react为何需要设定唯一key值(antd-table)
  14. C语言冷知识
  15. 转 PHP5+APACHE2.2配置
  16. 浅谈 .NET 中的对象引用、非托管指针和托管指针 理解C#中的闭包
  17. 判断是否是微信浏览器JavaScript代码
  18. ParentNodes、childNodes、children之间的区别
  19. ubuntu 16.04安装ceph集群(双节点)
  20. winSCP连接FTP没有上传的权限

热门文章

  1. Markdown(github)语法
  2. sharepoint services
  3. CSS绝对定位模拟固定定位
  4. Vue指令6:v-show
  5. "ping: unknown host www.baidu.com"问题解决方式
  6. springmvc学习及源码地址
  7. UVA - 11536 Smallest Sub-Array(尺取法)
  8. Error:Cannot find bean: "org.apache.struts.taglib.html.BEAN" in any scope
  9. CentOS7 安装 PHP7.2
  10. 微信小程序支付全问题解决