嗨,我正在尝试通过rest高级客户端使用弹性搜索重新索引api,并比较两种方法。高级客户端:
Reindex task submission - It is also possible to submit a ReindexRequest and not wait for itThis is an equivalent of a REST request with wait_for_completion flag set to false.我试图找
我已经尝试过许多版本的elasticsearch-java,但它们都无法工作。org.elasticsearch.client.ResponseException: method [POST], host [***:80], URI [/location/_search?typed_keys=true], status line [HTTP/1.1 406 Not Acceptable]
{"error":"Content-Type header [application/vnd.elasticse
org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.translateException(ElasticsearchRestTemplate.java:427)
public interface MyRepoelasticsearchCli