ES:查询出现的问题
SearchRequest request = new SearchRequest();
request.indices("researcher_new");
request.source(new SearchSourceBuilder().query(QueryBuilders.termQuery("name", "邓飞其")));
SearchResponse response = esClient.search(request, RequestOpt.
原创
2021-12-31 22:40:46 ·
3796 阅读 ·
0 评论