# Geohash\_precision Units?

**URL:** <https://discuss.elastic.co/t/geohash-precision-units/17469>\
**Category:** Elasticsearch\
**Created:** [May 13, 2014, 3:26am UTC](https://discuss.elastic.co/t/geohash-precision-units/17469 "2014-05-13T03:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Sander](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael_sander/32/838_2.png) [@Michael\_Sander](https://discuss.elastic.co/u/Michael_Sander)\
**Post date:** [May 13, 2014, 3:26am UTC](https://discuss.elastic.co/t/geohash-precision-units/17469/1 "2014-05-13T03:26:05Z")

</div>

What are the units of geohash\_precision when no unit is explicitly  
specified?

The docs currently state[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-geo-point-type.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-geo-point-type.html)  
:

If you enable the geohash option, a geohash “sub-field” will be indexed as,  
eg pin.geohash. The length of the geohash is controlled by the  
geohash\_precision parameter, _which can either be set to an absolute length  
(eg **12** ,_ the default) or to a distance (eg 1km).

When you set geohash\_precision to "an absolute length", what units are you  
setting it to? Meters? This seems like such a simple question that I bet  
I'm missing something.

Thanks,

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/619a8e97-9bc0-4713-9088-a82897c8d605%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/619a8e97-9bc0-4713-9088-a82897c8d605%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:29am UTC](https://discuss.elastic.co/t/geohash-precision-units/17469/2 "2017-07-06T01:29:55Z")

</div>


