Skip to content

Could not get list of indices due to co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'LimitTokenCountTokenFilter.consumeAllTokens' #199

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
logicpeters opened this issue Mar 14, 2022 · 0 comments · Fixed by #344
Labels
Area: Specification Related to the API spec used to generate client code

Comments

@logicpeters
Copy link

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?

@swallez swallez added the Area: Specification Related to the API spec used to generate client code label Jun 22, 2022
swallez added a commit to elastic/elasticsearch-specification that referenced this issue Jun 27, 2022
swallez added a commit to elastic/elasticsearch-specification that referenced this issue Jun 27, 2022
swallez added a commit to elastic/elasticsearch-specification that referenced this issue Jun 28, 2022
* Fix MultiTermsRequest - elastic/elasticsearch-java#160
* TypeFieldMappings is a multi-key dictionary - elastic/elasticsearch-java#166
* Fix TranslateSqlResponse - elastic/elasticsearch-java#167
* Token filter properties are generally optional - elastic/elasticsearch-java#199
* Fix typo in IndexSettings.mapping and allow extended settings - elastic/elasticsearch-java#295
* ShardRecovery.stop_time_in_millis is optional - elastic/elasticsearch-java#202
swallez added a commit to elastic/elasticsearch-specification that referenced this issue Jun 28, 2022
* Fix MultiTermsRequest - elastic/elasticsearch-java#160
* TypeFieldMappings is a multi-key dictionary - elastic/elasticsearch-java#166
* Fix TranslateSqlResponse - elastic/elasticsearch-java#167
* Token filter properties are generally optional - elastic/elasticsearch-java#199
* Fix typo in IndexSettings.mapping and allow extended settings - elastic/elasticsearch-java#295
* ShardRecovery.stop_time_in_millis is optional - elastic/elasticsearch-java#202
swallez added a commit to elastic/elasticsearch-specification that referenced this issue Jun 28, 2022
* Fix MultiTermsRequest - elastic/elasticsearch-java#160
* TypeFieldMappings is a multi-key dictionary - elastic/elasticsearch-java#166
* Fix TranslateSqlResponse - elastic/elasticsearch-java#167
* Token filter properties are generally optional - elastic/elasticsearch-java#199
* Fix typo in IndexSettings.mapping and allow extended settings - elastic/elasticsearch-java#295
* ShardRecovery.stop_time_in_millis is optional - elastic/elasticsearch-java#202
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Specification Related to the API spec used to generate client code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants