Could not get list of indices due to co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'LimitTokenCountTokenFilter.consumeAllTokens' #199
Labels
Area: Specification
Related to the API spec used to generate client code
Java API client version
7.17.1
Java version
17
Elasticsearch Version
7.16.2
Problem description
I am trying to migrate this working code from the high-level rest client:
GetIndexResponse response = hlrClient.indices().get(new GetIndexRequest("someprefix-*"), RequestOptions.DEFAULT);
To this:
GetIndexResponse response = javaApiClient.indices().get(req -> req.index("someprefix-*"));
Im confused by the meaning of the error message -- why does this property need to be set?
The text was updated successfully, but these errors were encountered: