ClassCastException

Could you reproduce it with a full recreation script as described in About the Elasticsearch category. Please, try to keep the example as simple as possible.

Would be better to reproduce on a recent version as 1.7 is not supported anymore.