Failed to deserialize response of type SearchResponse
Closed this issue · 0 comments
bodin commented
Great plugin, does exactly what I am looking for. The aggregation works when I test using curl, however it is failing when I try to use it via the java API.
I am using elastic search 1.7.2, so I can think of 3 things that could be happening
- The plugin only works for the 1.6 branch
- The plugin is not intended for the java API
- Something I am doing incorrectly
org.elasticsearch.transport.TransportSerializationException: Failed to deserialize response of type [org.elasticsearch.action.search.SearchResponse]
Caused by: java.lang.NullPointerException: null
org.elasticsearch.search.aggregations.InternalAggregations.readFrom(InternalAggregations.java:190)
Any help would be appreciated, thanks