Flattened Type Not Working in version 7.4

I'm using AWS elasticsearch
{
"mappings":{
"properties": {
"name": {
"type": "text"
},
"info": {
"type": "flattened"
}
}
}
}

Errror message is :::
{
"error": {
"root_cause": [
{
"type": "mapper_parsing_exception",
"reason": "No handler for type [flattened] declared on field [info]"
}
],
"type": "mapper_parsing_exception",
"reason": "Failed to parse mapping [_doc]: No handler for type [flattened] declared on field [info]",
"caused_by": {
"type": "mapper_parsing_exception",
"reason": "No handler for type [flattened] declared on field [info]"
}
},
"status": 400
}

The flattened datatype requires the default distribution with at least the free basic license.

default distribution not able to connect this.
Can you please highlight more on this
i'm using open -distro also

I do not think OpenDistro is compatible with the default distribution. AWS Elasticsearch uses a version of the OSS distribution.

So either i can use default distribution or i can use open-distro but not both at the same time.

I believe that is the case. I am not an OpenDistro user though so you may want to check with their community.

BTW did you look at https://www.elastic.co/cloud and https://aws.amazon.com/marketplace/pp/B01N6YCISK ?

Cloud by elastic is one way to have access to all features, all managed by us. Think about what is there yet like Security, Monitoring, Reporting, SQL, Canvas, APM, Logs UI, Infra UI, SIEM, Maps UI, AppSearch and what is coming next :slight_smile: ...

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.