spring-data-opensearch
spring-data-opensearch copied to clipboard
No handler for type [flattened] declared on field [requestParameters]
for a field type that we want to map to flattened object field, it can be annotated with @FieldType.Flattened
which is mapped to "flattened" field type in elasticsearch. But opensearch does not recognize this type since its declared as "flat_object" in Opensearch type. due to this mismatch i am unable to declare flattened obejct type using org.springframework.data.elasticsearch.annotations.FieldType
any recommendation or workaround to solve this problem ?
reference https://opensearch.org/docs/latest/field-types/supported-field-types/flat-object/ https://www.elastic.co/guide/en/elasticsearch/reference/current/flattened.html https://docs.spring.io/spring-data/elasticsearch/docs/current/api/org/springframework/data/elasticsearch/annotations/FieldType.html#Flattened