I currently use ElasticSearch in Spring Boot. The ES version is 6.2.2 and an error occurs because an option such as ignore_throttle does not exist. When I check the library version, it is judged that the high level client 7.x version is the problem, but if I change the version to 6.2.2, an unknown error occurs and I just try to use it. Could you possibly delete the parameter?
实现'org.springframework. Boot :Spring启动器启动器数据ElasticSearch:2.1.10.RELEASE'
请求
SearchSourceBuilder sourceBuilder = new SearchSourceBuilder();
sourceBuilder.query(QueryBuilders.matchAllQuery());
searchRequest.source(sourceBuilder);
1条答案
按热度按时间mpgws1up1#
您使用的 Spring Boot 版本是否〉2.1.5