-
Notifications
You must be signed in to change notification settings - Fork 246
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
Missing support for {dynamic_type} #142
Labels
Area: Specification
Related to the API spec used to generate client code
Comments
swallez
added
the
Area: Specification
Related to the API spec used to generate client code
label
Jan 27, 2022
This is an issue in the API specification used to produce the Java code. elastic/elasticsearch-specification#1558 has been opened to solve this, and the Java client will be updated once it's fixed. |
This was referenced May 23, 2022
This was referenced May 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The API seems to be missing support for {dynamic_type} (https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html#template-variables)
In DynamicTemplate.Builder, I can't find any way to specify a mapping using {dynamic_type}. (Property.Kind has no corresponding value.)
Additionally, if I use the old RestHighLevelClient to create a mapping with {dynamic_type} and I then use the new client to get the TypeMapping (client.indices().get(request).get(indexName).mappings()), I get a MissingRequiredPropertyException.
co.elastic.clients.util.MissingRequiredPropertyException: Missing required property 'Builder.'
The text was updated successfully, but these errors were encountered: