Hi guys,
I know it has to be something simple, but it just not work for me.
I'm using 0.16.1
I'm pretty much cloning what Shay did on the blog post about geo
location and search, http://www.elasticsearch.org/blog/2010/08/16/geo_location_and_search.html
Here is my gist with all the steps
geo_distance_test
# Inserting a pin
curl -X POST "http://localhost:9200/pins/pin/1" -d '{
"pin" : {
"location" : {
"lat" : 40.12,
"lon" : -71.34
},
"tag" : ["food", "family"],
"text" : "my favorite family restaurant"
}
This file has been truncated. show original
Any ideas?
I've also tried with other document way more complex and I've got the
same error
Thanks
Try this: geo_distance test for ES · GitHub
On Thu, Jun 23, 2011 at 4:29 PM, maverick mauricio.alarcon@gmail.com wrote:
Hi guys,
I know it has to be something simple, but it just not work for me.
I'm using 0.16.1
I'm pretty much cloning what Shay did on the blog post about geo
location and search,
Elasticsearch Platform — Find real-time answers at scale | Elastic
Here is my gist with all the steps
geo_distance test for ES · GitHub
Any ideas?
I've also tried with other document way more complex and I've got the
same error
Thanks
Igor,
Thanks a lot, now is working, besides the mapping to geo_point I also
needed more distance in the search
Cheers
On Jun 23, 5:08 pm, Igor Motov i...@motovs.org wrote:
Try this:geo_distance test for ES · GitHub
On Thu, Jun 23, 2011 at 4:29 PM, maverick mauricio.alar...@gmail.com wrote:
Hi guys,
I know it has to be something simple, but it just not work for me.
I'm using 0.16.1
I'm pretty much cloning what Shay did on the blog post about geo
location and search,
Elasticsearch Platform — Find real-time answers at scale | Elastic ....
Here is my gist with all the steps
geo_distance test for ES · GitHub
Any ideas?
I've also tried with other document way more complex and I've got the
same error
Thanks