![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ES
鲸落丶南北
这个作者很懒,什么都没留下…
展开
-
ElasticSearch学习笔记(五):聚合查询
city-event-processing——索引名一、数据体PUT city-event-processing{ "settings": { "number_of_shards": 10, "number_of_replicas": 1, "refresh_interval": "1s" }, "mappings": { "properties": { "address": { "type": "text",转载 2021-06-07 18:32:47 · 91 阅读 · 0 评论 -
ElasticSearch学习笔记(四):3种分页查询方式和各自优缺点
https://blog.csdn.net/qq_38011415/article/details/111863289转载 2021-05-24 13:48:39 · 196 阅读 · 0 评论 -
ElasticSearch学习笔记(三):CRUD之简单查询
city-event-processing——索引名一、数据体索引结构PUT city-event-processing{ "settings": { "number_of_shards": 10, "number_of_replicas": 1, "refresh_interval": "1s" }, "mappings": { "properties": { "address": { "type": "text",原创 2021-05-17 18:41:29 · 241 阅读 · 0 评论 -
ElasaticSearch专栏
https://www.cnblogs.com/hello-shf/category/1550315.html转载 2021-05-14 13:48:59 · 120 阅读 · 0 评论 -
ElasticSearch学习笔记(二):CRUD之增删改
一、插入数据数据体:package com.megvii.cbg.citymgr.model.po.event;import java.util.List;import com.megvii.cbg.citymgr.model.core.Point;import com.megvii.cbg.citymgr.model.core.RoiDetail;import com.megvii.cbg.citymgr.model.dto.EventHandler;import com.megvii.原创 2021-05-07 17:37:11 · 96 阅读 · 0 评论 -
ElasticSearch学习笔记(一):新增、修改、删除索引
一、新增索引1.DSL实现PUT megcity-event-processing{ "settings": { "number_of_shards": 10, "number_of_replicas": 1, "refresh_interval": "1s" }, "mappings": { "properties": { "address": { "type": "text", "fields": {原创 2021-05-06 16:31:38 · 709 阅读 · 0 评论 -
ElasticSearch中restHighLevelClient基本增删改查的使用
1.构造索引protected RestHighLevelClient restHighLevelClient;//调用ES API根据自己的索引名indexName创建CreateIndexRequest对象final CreateIndexRequest request = new CreateIndexRequest(indexName); //创建索引的返回结果 CreateIndexResponse response = restHighLevelClient.indic原创 2020-12-15 18:50:11 · 4862 阅读 · 2 评论