# Field types for geohash to skip the analyzer

**URL:** <https://discuss.elastic.co/t/field-types-for-geohash-to-skip-the-analyzer/9865>\
**Category:** Elasticsearch\
**Created:** [November 28, 2012, 3:29pm UTC](https://discuss.elastic.co/t/field-types-for-geohash-to-skip-the-analyzer/9865 "2012-11-28T15:29:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Weitzenfeld](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel_weitzenfeld/32/2593_2.png) [@Daniel\_Weitzenfeld](https://discuss.elastic.co/u/Daniel_Weitzenfeld)\
**Post date:** [November 28, 2012, 3:29pm UTC](https://discuss.elastic.co/t/field-types-for-geohash-to-skip-the-analyzer/9865/1 "2012-11-28T15:29:45Z")

</div>

In a blog post[http://engineering.foursquare.com/2012/08/09/foursquare-now-uses-elastic-search-and-on-a-related-note-slashem-also-works-with-elastic-search/](http://engineering.foursquare.com/2012/08/09/foursquare-now-uses-elastic-search-and-on-a-related-note-slashem-also-works-with-elastic-search/),  
foursquare engineering says "We got a non-trivial performance improvement  
by switching the field types for our geohash to allow us to skip the  
analyzer." Does anyone know specifically what they mean here? Are they  
mapping their geohash as a string and setting 'index':'not\_analyzed'?  
Thanks in advance.

--

---

<div class="post-metadata">

**Author:** ![Dan\_Lecocq](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dan_lecocq/32/2565_2.png) [@Dan\_Lecocq](https://discuss.elastic.co/u/Dan_Lecocq)\
**Post date:** [November 29, 2012, 5:54pm UTC](https://discuss.elastic.co/t/field-types-for-geohash-to-skip-the-analyzer/9865/2 "2012-11-29T17:54:16Z")

</div>

It does seem unnecessarily vague, but that's what it sounds like to me, too.

On Wednesday, November 28, 2012 7:29:45 AM UTC-8, Daniel Weitzenfeld wrote:

> In a blog post[http://engineering.foursquare.com/2012/08/09/foursquare-now-uses-elastic-search-and-on-a-related-note-slashem-also-works-with-elastic-search/](http://engineering.foursquare.com/2012/08/09/foursquare-now-uses-elastic-search-and-on-a-related-note-slashem-also-works-with-elastic-search/),  
> foursquare engineering says "We got a non-trivial performance improvement  
> by switching the field types for our geohash to allow us to skip the  
> analyzer." Does anyone know specifically what they mean here? Are they  
> mapping their geohash as a string and setting 'index':'not\_analyzed'?  
> 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:** [July 6, 2017, 3:02am UTC](https://discuss.elastic.co/t/field-types-for-geohash-to-skip-the-analyzer/9865/3 "2017-07-06T03:02:06Z")

</div>

Closed on July 6, 2017, 3:02am UTC


