# Geo\_points

**URL:** <https://discuss.elastic.co/t/geo-points/16184>\
**Category:** Elasticsearch\
**Created:** [March 6, 2014, 9:37am UTC](https://discuss.elastic.co/t/geo-points/16184 "2014-03-06T09:37:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jcl/32/6605_2.png) [@jcl](https://discuss.elastic.co/u/jcl)\
**Post date:** [March 6, 2014, 9:37am UTC](https://discuss.elastic.co/t/geo-points/16184/1 "2014-03-06T09:37:49Z")

</div>

Hi here,

I'm trying to use geo\_points and geo search, i followed those instructions  
:

> **[Geo Location and Search
	  	 | Elastic](https://www.elastic.co/blog/geo-location-and-search)**
>
> One of the coolest search technology combinations out there are the ability to combine geo and search. Queries such as give me all the restaurants that serves meat (\[insert your query here\]) within 20...

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html)

But i can't make it works ...

you can find my gist here [https://gist.github.com/anodoor/9386081](https://gist.github.com/anodoor/9386081)

My configuration :

- Java :
- Java version "1.6.0\_65"
  - Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-462-11M4609)
  - Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

- OS
  - OSX 10.9.2

- ElasticSearch
  - 1.0

Please let me know if i'm doing something wrong or if something's wrong in  
my configuration.

--  
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/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [March 6, 2014, 9:40am UTC](https://discuss.elastic.co/t/geo-points/16184/2 "2014-03-06T09:40:55Z")

</div>

Thanks Jean Charles,

Could you gist it as a curl script so we can reproduce it whatever the client you are using?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 10:37:52, [jcl@appiway.com](mailto:jcl@appiway.com) ([jcl@appiway.com](mailto:jcl@appiway.com)) a écrit:

Hi here,

I'm trying to use geo\_points and geo search, i followed those instructions :

> **[Geo Location and Search
	  	 | Elastic](https://www.elastic.co/blog/geo-location-and-search)**
>
> One of the coolest search technology combinations out there are the ability to combine geo and search. Queries such as give me all the restaurants that serves meat (\[insert your query here\]) within 20...

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html)

But i can't make it works ...

you can find my gist here [https://gist.github.com/anodoor/9386081](https://gist.github.com/anodoor/9386081)

My configuration :

Java :  
Java version "1.6.0\_65"  
Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-462-11M4609)  
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)  
OS  
OSX 10.9.2  
ElasticSearch  
1.0  
Please let me know if i'm doing something wrong or if something's wrong in my configuration.

--  
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/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/etPan.531842a7.70a64e2a.7bfa%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.531842a7.70a64e2a.7bfa%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jcl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jcl/32/6605_2.png) [@jcl](https://discuss.elastic.co/u/jcl)\
**Post date:** [March 6, 2014, 10:38am UTC](https://discuss.elastic.co/t/geo-points/16184/3 "2014-03-06T10:38:36Z")

</div>

while i was passing to curl script i changed my mapping call, now it works  
with geo\_distance filters + sort

Thank you david !

Le jeudi 6 mars 2014 10:40:55 UTC+1, David Pilato a écrit :

> Thanks Jean Charles,
> 
> Could you gist it as a curl script so we can reproduce it whatever the  
> client you are using?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 6 mars 2014 à 10:37:52, [j...@appiway.com](mailto:j...@appiway.com) \<javascript:\> (  
> [j...@appiway.com](mailto:j...@appiway.com) \<javascript:\>) a écrit:
> 
> Hi here,
> 
> I'm trying to use geo\_points and geo search, i followed those instructions  
> :
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/geo-location-and-search/)
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html)
> 
> But i can't make it works ...
> 
> you can find my gist here [indexing.php · GitHub](https://gist.github.com/anodoor/9386081)
> 
> My configuration :
> 
> - Java :
> - 
> - Java version "1.6.0\_65"
> - Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-462-11M4609)
> - Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed  
> mode)
> 
> ```
> - OS 
> 
> ```
> 
> - 
> - OSX 10.9.2
> 
> ```
> - ElasticSearch 
> 
> ```
> 
> - 
> - 1.0
> 
> Please let me know if i'm doing something wrong or if something's wrong in  
> my configuration.
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/8ada3771-34a6-44a0-9ad8-3360e5880477%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8ada3771-34a6-44a0-9ad8-3360e5880477%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [March 6, 2014, 11:28am UTC](https://discuss.elastic.co/t/geo-points/16184/4 "2014-03-06T11:28:03Z")

</div>

Exactly what we wrote in help: [http://www.elasticsearch.org/help/](http://www.elasticsearch.org/help/)

Quite often, the problem is a result of you having already indexed data that differs from your current example. Just by starting from scratch, you may solve your own problem.

## 🙂

David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 11:38:40, [jcl@appiway.com](mailto:jcl@appiway.com) ([jcl@appiway.com](mailto:jcl@appiway.com)) a écrit:

while i was passing to curl script i changed my mapping call, now it works with geo\_distance filters + sort

Thank you david !

Le jeudi 6 mars 2014 10:40:55 UTC+1, David Pilato a écrit :  
Thanks Jean Charles,

Could you gist it as a curl script so we can reproduce it whatever the client you are using?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 10:37:52, [j...@appiway.com](mailto:j...@appiway.com) ([j...@appiway.com](mailto:j...@appiway.com)) a écrit:

Hi here,

I'm trying to use geo\_points and geo search, i followed those instructions :

> **[Geo Location and Search
	  	 | Elastic](https://www.elastic.co/blog/geo-location-and-search)**
>
> One of the coolest search technology combinations out there are the ability to combine geo and search. Queries such as give me all the restaurants that serves meat (\[insert your query here\]) within 20...

[http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-facets-geo-distance-facet.html)

But i can't make it works ...

you can find my gist here [https://gist.github.com/anodoor/9386081](https://gist.github.com/anodoor/9386081)

My configuration :

Java :  
Java version "1.6.0\_65"  
Java(TM) SE Runtime Environment (build 1.6.0\_65-b14-462-11M4609)  
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)  
OS  
OSX 10.9.2  
ElasticSearch  
1.0  
Please let me know if i'm doing something wrong or if something's wrong in my configuration.

## -- 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

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/8ada3771-34a6-44a0-9ad8-3360e5880477%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8ada3771-34a6-44a0-9ad8-3360e5880477%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/etPan.53185bc3.15b5af5c.7bfa%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.53185bc3.15b5af5c.7bfa%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:45am UTC](https://discuss.elastic.co/t/geo-points/16184/5 "2017-07-06T01:45:22Z")

</div>


