
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 · 121 阅读 · 0 评论 -
ElasticSearch学习笔记(四):3种分页查询方式和各自优缺点
https://blog.youkuaiyun.com/qq_38011415/article/details/111863289转载 2021-05-24 13:48:39 · 241 阅读 · 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 · 273 阅读 · 0 评论 -
ElasaticSearch专栏
https://www.cnblogs.com/hello-shf/category/1550315.html转载 2021-05-14 13:48:59 · 150 阅读 · 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 · 133 阅读 · 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 · 800 阅读 · 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 · 5643 阅读 · 2 评论