![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ES
行走的猪蹄子
这个作者很懒,什么都没留下…
展开
-
ES 创建索引Template
{ "mappings": { "properties": { "complexLabelId": { "type": "integer" }, "createTime": { "type": "date", "format": "yyyy-MM-dd HH:mm:ss" },原创 2022-03-03 17:33:31 · 1077 阅读 · 0 评论 -
自动创建ES的index
PUT /_cluster/settings{ "persistent" : { "action": { "auto_create_index": "true" } }}原创 2020-02-26 16:47:50 · 4864 阅读 · 1 评论 -
ElasticSearch设置自定义_id
在请求的URL上附加上想要设置的_id的值POST /yaeher-article/_doc/sergivandebunorwichpublishid{ "author":"Sergi·Van·Debunorwich", "authorFullName":"谢尔盖·范·德彪诺维奇", "authorOpenId":"wodeopenid", "category":"一级", "con...原创 2020-02-26 16:46:20 · 4164 阅读 · 0 评论