generated from amazon-archives/__template_Custom
-
Notifications
You must be signed in to change notification settings - Fork 217
Open
Labels
bugSomething isn't workingSomething isn't working
Description
see opensearch-project/spring-data-opensearch#437
this seems to come from this client
What is the bug?
using dynamic_template generates a wrong template (it includes "type": "object") which then leads to wrong behaviour when ingesting field names with dots in it.
the problem seems to come from here:
Line 1440 in 61567fa
| op.setTypeProperty("type", Kind.Object.jsonValue()); |
which was previously here (got moved around in a recent re-generation):
Line 1494 in 3955240
| op.setTypeProperty("type", "object"); |
How can one reproduce the bug?
see opensearch-project/spring-data-opensearch#437
What is the expected behavior?
the provided example works both with the old and new client. more concretely: opensearch-java mustn't inject "type": "object" into the dynamic_template
What is your host/environment?
n/a
Do you have any screenshots?
n/a
Do you have any additional context?
n/a
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working