# Gep\_point with geohash:true == geo\_shape?

**URL:** <https://discuss.elastic.co/t/gep-point-with-geohash-true-geo-shape/31451>\
**Category:** Elasticsearch\
**Created:** [October 1, 2015, 8:25am UTC](https://discuss.elastic.co/t/gep-point-with-geohash-true-geo-shape/31451 "2015-10-01T08:25:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tripy\_ran](https://avatars.discourse-cdn.com/v4/letter/t/c4cdca/32.png) [@tripy\_ran](https://discuss.elastic.co/u/tripy_ran)\
**Post date:** [October 1, 2015, 8:25am UTC](https://discuss.elastic.co/t/gep-point-with-geohash-true-geo-shape/31451/1 "2015-10-01T08:25:47Z")

</div>

Hello,

I am new to ES, each of my documents contain a point.  
Some of my queries will require to decide what documents are inside a complex polygon (geo\_shape seems most fitted)  
While other queries will require distance and aggregations (geo\_point most suitable)

I thought I will filter results with geohash, so my geo\_point also has geohash set to true as well with prefix set to true.  
Now I look at geo\_shape, it also generate the same geohash and index it just like my point did.

It seems redundant,

My current mapping uses transform to copy the input geo\_shape coordinates into my geo\_point field, so I store 2 fields from my one input point. Is this really necessary ?

Thanks,  
R.

---

<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 5, 2017, 11:47pm UTC](https://discuss.elastic.co/t/gep-point-with-geohash-true-geo-shape/31451/2 "2017-07-05T23:47:15Z")

</div>


