![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
es学习
编码之路就在脚下
这个作者很懒,什么都没留下…
展开
-
ElasticSearch5.4学习
1.查询所有索引: get方法:http://127.0.0.1:9200/_cat/indices?v 2.列出索引的type get请求:http://127.0.0.1:9200/_mapping?pretty=true 3.新建索引 put请求:http://127.0.0.1:9200/school 4.删除索引 delete请求:http://127.0.0.1:92...原创 2019-08-05 16:08:07 · 140 阅读 · 0 评论 -
ElasticSearch AggregationBuilders java api常用聚会查询
以球员信息为例,player索引的player type包含5个字段,姓名,年龄,薪水,球队,场上位置。 index的mapping为: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...转载 2019-08-05 16:55:28 · 1012 阅读 · 0 评论