ReduceSearchPhaseException caused by ClassCastException


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] ];
cannot be cast to];

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
For more options, visit