ReduceSearchPhaseException caused by ClassCastException

Hi,

Elastic Search Version: 0.20.4

I have a field in my index which contains floating point data. In the
mapping I can see that Elastic Search has correctly identified the data
type as double. However when I try to run either a terms stats facet or a
terms facet on this field, the following exception is thrown:

ReduceSearchPhaseException[Failed to execute phase [fetch], [reduce] ];
nested:
ClassCastException[org.elasticsearch.search.facet.terms.longs.InternalLongTermsFacet
cannot be cast to
org.elasticsearch.search.facet.terms.doubles.InternalDoubleTermsFacet];

Statistical facet works on the field though. I can also run terms facets on
other floating point fields, so I am really confused as to why this
particular field is behaving differently. Has anybody else run into this
problem before?

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