
ES
闭门车
这个作者很懒,什么都没留下…
展开
-
es入门
查看es的健康状态 http://10.1.18.37:8211/_cat/health?v 查看所有的索引 get http://10.1.18.37:8211/_cat/indices?v 创建索引,在postman执行的时候需要设置为json数据格式 PUT /test_index?pretty 索引内容 { "settings":{ "number_of_s...原创 2019-12-19 18:36:33 · 194 阅读 · 0 评论 -
ES 自己做的例子汇总
首先初始化数据 POST /forums/articles/_bulk { "index": { "_id": 1 }} { "articleID" : "XHDK-A-1293-#fJ3", "userID" : 1, "hidden": false, "postDate": "2017-01-01" } { "index": { "_id": 2 }} { "articleI...原创 2019-12-19 11:38:52 · 475 阅读 · 0 评论