Geo_points


(jcl) #1

Hi here,

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

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

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.
To view this discussion on the web visit 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.


(David Pilato) #2

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
@dadoonet | @elasticsearchfr

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

Hi here,

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

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

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.
To view this discussion on the web visit 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.

--
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.
To view this discussion on the web visit 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.


(jcl) #3

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
@dadoonet https://twitter.com/dadoonet | @elasticsearchfrhttps://twitter.com/elasticsearchfr

Le 6 mars 2014 à 10:37:52, j...@appiway.com <javascript:> (
j...@appiway.com <javascript:>) a écrit:

Hi here,

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

http://www.elasticsearch.org/blog/geo-location-and-search/

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

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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/9a409075-28d8-486b-b76c-06ff5948fbdf%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit 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.


(David Pilato) #4

Exactly what we wrote in 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.

:slight_smile:

David Pilato | Technical Advocate | Elasticsearch.com
@dadoonet | @elasticsearchfr

Le 6 mars 2014 à 11:38:40, jcl@appiway.com (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
@dadoonet | @elasticsearchfr

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

Hi here,

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

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

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.
To view this discussion on the web visit 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.

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.
To view this discussion on the web visit 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.

--
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.
To view this discussion on the web visit 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.


(system) #5