摘要:
1、导入swagger坐标 <!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.6.1</version> </depen 阅读全文
摘要:
1、计算总数 { "size": 0, "aggs": { "count_nameCount": { "terms": { "field": "data.id" } } } } 2、查询所有 GET /logstandard_data/logstandard_data/_search { "quer 阅读全文
摘要:
1 索引 1.1 创建索引 public static void main(String[] args) throws Exception { RestHighLevelClient esClient = new RestHighLevelClient( RestClient.builder(new 阅读全文