i am writing a search on index doc. but i am getting error as
"ElasticsearchStatusException[Elasticsearch exception [type=illegal_argument_exception, reason=request [/index/_search] contains unrecognized parameters: [ignore_throttled], [rest_total_hits_as_int]]] "
RestHighLevelClient restHighLevelClient = new RestHighLevelClient(RestClient.builder(
new HttpHost(eshost, esport)));
SearchRequest searchRequest = esSearchRequest.
testForSearchType(requestfromClient.getReqCl(),
requestfromClient.getNbr(),
requestfromClient.getTyp());
SearchResponse response = restHighLevelClient.search(searchRequest);
In response line i am getting error .
Any help please.