elasticsearch
真炎破天
这个作者很懒,什么都没留下…
展开
-
elastisearch_数据结构
导入数据:PUT twitter/_doc/0{ "user" : "kimchy", "post_date" : "2009-11-15T14:12:12", "message" : "trying out Elasticsearch"}获取数据:每个文档为json文件,自带属性key:_index, _type, _id and _version of the document we wish to retrieve。自己导入的信息在"_source"这个子字典.原创 2020-09-10 23:08:02 · 134 阅读 · 0 评论 -
elasticsearch_DELETE
Delete Index删除检索 twitterDELETE twitterDelete By Iddeletes the JSON document from an index called twitter, under a type called _doc, with id 1:DELETE /twitter/_doc/1Delete By Query通过条件查找符合条件的json文件并对进行delete其中, twitter为index(检索名)POST twitter/原创 2020-09-10 22:58:28 · 178 阅读 · 0 评论