Why is this geo_distance not working for me?


(Mauricio Alarcon) #1

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

Any ideas?

I've also tried with other document way more complex and I've got the
same error

Thanks


(Igor Motov) #2

Try this: https://gist.github.com/1043630

On Thu, Jun 23, 2011 at 4:29 PM, maverick mauricio.alarcon@gmail.comwrote:

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

https://gist.github.com/1043546

Any ideas?

I've also tried with other document way more complex and I've got the
same error

Thanks


(Mauricio Alarcon) #3

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:https://gist.github.com/1043630

On Thu, Jun 23, 2011 at 4:29 PM, maverick mauricio.alar...@gmail.comwrote:

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....

Here is my gist with all the steps

https://gist.github.com/1043546

Any ideas?

I've also tried with other document way more complex and I've got the
same error

Thanks


(system) #4