# How get geohash value from a geo\_point in Elastic Search 7 in a simple query?

**URL:** <https://discuss.elastic.co/t/how-get-geohash-value-from-a-geo-point-in-elastic-search-7-in-a-simple-query/189902>\
**Category:** Elasticsearch\
**Created:** [July 11, 2019, 4:01am UTC](https://discuss.elastic.co/t/how-get-geohash-value-from-a-geo-point-in-elastic-search-7-in-a-simple-query/189902 "2019-07-11T04:01:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izthak\_Zadwing](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/izthak_zadwing/32/49831_2.png) [@Izthak\_Zadwing](https://discuss.elastic.co/u/Izthak_Zadwing)\
**Post date:** [July 11, 2019, 4:01am UTC](https://discuss.elastic.co/t/how-get-geohash-value-from-a-geo-point-in-elastic-search-7-in-a-simple-query/189902/1 "2019-07-11T04:01:57Z")

</div>

In Elastic Search 7.1  
I have an index and the mapping has some fields.  
One field is geo\_point

How can I make a query that display the corresponding geohash of the geo\_point field?

I do not want aggregation, I just want to see the geohas of every document.

any sample?

thanks in advance 🙂

---

<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:** [August 8, 2019, 4:02am UTC](https://discuss.elastic.co/t/how-get-geohash-value-from-a-geo-point-in-elastic-search-7-in-a-simple-query/189902/2 "2019-08-08T04:02:04Z")

</div>

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