# Geo\_shape mapping issue

**URL:** <https://discuss.elastic.co/t/geo-shape-mapping-issue/137107>\
**Category:** Elasticsearch\
**Created:** [June 23, 2018, 7:41am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107 "2018-06-23T07:41:11Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![alakh\_kumar](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@alakh\_kumar](https://discuss.elastic.co/u/alakh_kumar)\
**Post date:** [June 23, 2018, 7:41am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/1 "2018-06-23T07:41:11Z")

</div>

I am using :  
Magento Version : CE Version 2.1  
ElasticSuite Version :2.3

when i try to map geo\_shape it showing me error message : mapper\_parsing\_exception: Mapping definition for [coordinates] has unsupported parameters: [norms : {enabled=false}] [doc\_values : true]

my code in xml elasticsuite\_indices.xml:  
field name="hyperlocal.sellerid" type="integer" nestedPath="hyperlocal"  
field name="hyperlocal.coordinates" type="geo\_shape" nestedPath="hyperlocal"

When i try to index it throwing error message:  
mapper\_parsing\_exception: Mapping definition for [coordinates] has unsupported parameters: [norms : {enabled=false}] [doc\_values : true]

what i am missing in mapping xml code?

Expected result  
I am trying to mapping like:  
"hyperlocal" : {  
"type" : "nested",  
"properties" : {  
"location" : {  
"type" : "geo\_shape"  
},  
"sellerid" : {  
"type" : "integer"  
}  
}  
}

Please help.

 ![Untitled](https://us1.discourse-cdn.com/elastic/original/3X/a/4/a4a9bd9a855bd26027fac02f2fa7bded237cc5c9.png) ![magento%20akumar%20dev%20%20%20AWS%20Cloud9](https://us1.discourse-cdn.com/elastic/original/3X/3/3/3391ba5ab44494c1ea4e70407b143610fcee8eb4.png)

---

<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:** [June 23, 2018, 8:06am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/2 "2018-06-23T08:06:47Z")

</div>

Please don't post images of text as they are hardly readable and not searchable.

Instead paste the text and format it with `</>` icon. Check the preview window.

---

<div class="post-metadata">

**Author:** ![alakh\_kumar](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@alakh\_kumar](https://discuss.elastic.co/u/alakh_kumar)\
**Post date:** [June 23, 2018, 8:46am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/3 "2018-06-23T08:46:33Z")

</div>

Thanks for your update. I have also post the text, in image it's easy to understand what's going on.

Can you please help me to fix the geo\_shape mapping issue?

---

<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:** [June 23, 2018, 9:28pm UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/4 "2018-06-23T21:28:43Z")

</div>

I'm not sure I understand exactly what you are doing or what the software you are using is doing.

Any chance you can share a full script which reproduces your problem?

As described in [About the Elasticsearch category](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will help to better understand what you are doing. Please, try to keep the example as simple as possible.

A full reproduction script will help readers to understand, reproduce and if needed fix your problem. It will also most likely help to get a faster answer.

---

<div class="post-metadata">

**Author:** ![alakh\_kumar](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@alakh\_kumar](https://discuss.elastic.co/u/alakh_kumar)\
**Post date:** [June 24, 2018, 4:13am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/5 "2018-06-24T04:13:28Z")

</div>

Thanks for your reply.

I am using elastic smile module for magento. i have fixed it.  
I get troubleshoot it and get rid of variables  
[norms : {enabled=false}] [doc\_values : true] and its working fine.

Thanks

---

<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:** [July 22, 2018, 4:13am UTC](https://discuss.elastic.co/t/geo-shape-mapping-issue/137107/6 "2018-07-22T04:13:34Z")

</div>

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