lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hao jin <>
Subject PercentileAgg.merge could throw NPE when percentile function is used in a subFacet with a shards param
Date Thu, 07 Jan 2016 06:06:08 GMT
When I call such query, an NPE is reported

"java.lang.NullPointerException\r\n\tat java.nio.ByteBuffer.wrap(\r\n\tat$Merger.merge(\r\n\tat\r\n\tat

In one or more buckets of the "astrField" field, there is no values for the "adoubleField".
It seems like it happens when mergeing distributed results. If I exclude those buckets by
adding filters in "q" or remove the "shards" param, NPE is not thrown and percentile work
as expected.

Is it a bug? Already known?


View raw message