29 Star 146 Fork 37

大胃王 / ElasticSearch-Java API中文翻译

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DeleteAPI.md 542 Bytes
一键复制 编辑 原始数据 按行查看 历史
大胃王 提交于 2019-05-22 14:50 . 更新目录

Delete接口

Delete接口可以在指定的索引中根据ID删除一个JSON类型的文档。 下面的例子就是从index是twitter的索引中删除一个JSON格式的document,它的type是tweet,id是1:

DeleteResponse response = client.prepareDelete("twitter", "tweet", "1").get();

有关Get操作的更多信息,请查阅 delete 接口文档(中文)。

1
https://gitee.com/consolelog/chinese_translation_of_elasticsearchjavaapi.git
git@gitee.com:consolelog/chinese_translation_of_elasticsearchjavaapi.git
consolelog
chinese_translation_of_elasticsearchjavaapi
ElasticSearch-Java API中文翻译
master

搜索帮助