opendatasoft/elasticsearch-aggregation-pathhierarchy

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

  1. The plugin only works for the 1.6 branch
  2. The plugin is not intended for the java API
  3. 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