You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the shape property with the opensearch java client, this result as an error as it is known to OpenSearch, where this feature has the name xy_shape
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "No handler for type [shape] declared on field [myshapeprop]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: No handler for type [shape] declared on field [myshapeprop]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "No handler for type [shape] declared on field [myshapeprop]"
}
},
"status": 400
}
When using the xy_shape property, it works properly
What is the bug?
When using the
shape
property with the opensearch java client, this result as an error as it is known to OpenSearch, where this feature has the namexy_shape
How can one reproduce the bug?
In OpenSearch
Will result in the following error
When using the
xy_shape
property, it works properlyWill get
This due to Shape Elasticearch Feature
being implemented as XY Shape in Opensearch
When using the Opensearch Java client
Will result in the following error
What is the expected behavior?
Expected behavior is for Index to be created with the
xy_shape
propertyWhat is your host/environment?
Tested with
opensearchproject/opensearch:2.11.1
opensearch-java
in version2.9.0
Do you have any screenshots?
N/A
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: