_geo_distance search exception

Hello all,

I'm using haystack with Elasticsearch for quite a while now and everything
is going great.
I recently upgraded from 0.20 to 0.90.6 on my staging server and my
distance sorting doesn't work anymore.

I'm having a:
ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
cannot be cast to org.elasticsearch.index.fielddata.IndexGeoPointFieldData]

The exact same code seems to work on my own laptop, except I'm using
Archlinux on it and Ubuntu on the server.

Here is my gist:

I probably forgot something somewhere but I can't figure what...
If you need anything more then that to help me figure it out, just ask.

Thanks,
Alexandre

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Hey,

can you help us recreate that issue by creating a full gist using curl
including indexing data, setting up mapping and create a github issue?
Would like to investigate this further.

--Alex

On Thu, Nov 7, 2013 at 4:26 PM, Alexandre Spaeth <alexandre.spaeth@gmail.com

wrote:

Hello all,

I'm using haystack with Elasticsearch for quite a while now and everything
is going great.
I recently upgraded from 0.20 to 0.90.6 on my staging server and my
distance sorting doesn't work anymore.

I'm having a:
ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData
cannot be cast to org.elasticsearch.index.fielddata.IndexGeoPointFieldData]

The exact same code seems to work on my own laptop, except I'm using
Archlinux on it and Ubuntu on the server.

Here is my gist:

ElasticSearch _geo_distance sort error. · GitHub

I probably forgot something somewhere but I can't figure what...
If you need anything more then that to help me figure it out, just ask.

Thanks,
Alexandre

--
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.
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.
For more options, visit https://groups.google.com/groups/opt_out.