# Geolocation based search results

**URL:** <https://discuss.elastic.co/t/geolocation-based-search-results/202279>\
**Category:** Elasticsearch\
**Created:** [October 4, 2019, 4:58am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279 "2019-10-04T04:58:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinayak\_Chauhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak_chauhan/32/55369_2.png) [@Vinayak\_Chauhan](https://discuss.elastic.co/u/Vinayak_Chauhan)\
**Post date:** [October 4, 2019, 4:58am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279/1 "2019-10-04T04:58:03Z")

</div>

Hello All,

Anyone have any idea about detecting IP based geo-location which could be of country or city + country and show search results using Elastic search?

Thanks for the help!!

---

<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:** [October 4, 2019, 5:22am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279/2 "2019-10-04T05:22:28Z")

</div>

Welcome. Are you looking for this? [https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/geoip-processor.html)

---

<div class="post-metadata">

**Author:** ![Vinayak\_Chauhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak_chauhan/32/55369_2.png) [@Vinayak\_Chauhan](https://discuss.elastic.co/u/Vinayak_Chauhan)\
**Post date:** [October 4, 2019, 6:00am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279/3 "2019-10-04T06:00:23Z")

</div>

Thanks David for the reply. It seems fruitful.

It seems Maxmind is the provider who can detect the location (City, Country). Any idea about, is it paid service or free?

---

<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:** [October 4, 2019, 7:08am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279/4 "2019-10-04T07:08:44Z")

</div>

The embedded version is free. If you want to use the more accurate one, I think you need to buy a license on Maxmind website.

---

<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:** [November 1, 2019, 7:08am UTC](https://discuss.elastic.co/t/geolocation-based-search-results/202279/5 "2019-11-01T07:08:54Z")

</div>

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