# Flattened Type Not Working in version 7.4

**URL:** <https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513>\
**Category:** Elasticsearch\
**Created:** [May 27, 2020, 10:03am UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513 "2020-05-27T10:03:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishabh\_jain](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@rishabh\_jain](https://discuss.elastic.co/u/rishabh_jain)\
**Post date:** [May 27, 2020, 10:03am UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/1 "2020-05-27T10:03:49Z")

</div>

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  
}

---

<div class="post-metadata">

**Author:** ![forloop](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/forloop/32/9021_2.png) [@forloop](https://discuss.elastic.co/u/forloop)\
**Post date:** [May 27, 2020, 1:11pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/2 "2020-05-27T13:11:13Z")

</div>

The [flattened datatype](https://www.elastic.co/guide/en/elasticsearch/reference/7.4/flattened.html) requires the default distribution with at least the free basic license.

---

<div class="post-metadata">

**Author:** ![rishabh\_jain](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@rishabh\_jain](https://discuss.elastic.co/u/rishabh_jain)\
**Post date:** [May 27, 2020, 2:10pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/3 "2020-05-27T14:10:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 27, 2020, 2:11pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/4 "2020-05-27T14:11:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rishabh\_jain](https://avatars.discourse-cdn.com/v4/letter/r/aeb1de/32.png) [@rishabh\_jain](https://discuss.elastic.co/u/rishabh_jain)\
**Post date:** [May 27, 2020, 2:14pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/5 "2020-05-27T14:14:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [May 27, 2020, 2:37pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/6 "2020-05-27T14:37:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 27, 2020, 2:57pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/7 "2020-05-27T14:57:24Z")

</div>

BTW did you look at [https://www.elastic.co/cloud](https://www.elastic.co/cloud) and [https://aws.amazon.com/marketplace/pp/B01N6YCISK](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 🙂 ...

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 24, 2020, 2:57pm UTC](https://discuss.elastic.co/t/flattened-type-not-working-in-version-7-4/234513/8 "2020-06-24T14:57:32Z")

</div>

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