elasticsearch查询总结

ES操作还是应该看官网api指南,这里写了几个自己用到的,作为总结记录。 https://www.elastic.co/guide/en/elasticsearch/reference/5.1/search-aggregations-metrics-top-hits-aggregation.html 1 聚合索引中字段stu_num的数量(groupby),min_doc_count代表每一项聚合
相关文章
相关标签/搜索