Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0, 5.1, 5.2, 5.2.1
-
None
-
None
Description
In ExactStatsCache#mergeToGlobalStats we go through the n responses and merge the termStats and colStats. But we keep putting the terms into the map which means only the last shard response terms will get used.
This can lead to some terms not ending up calculating the distributed idf scores as the last shard might not have contained the term while the other shards actually had those terms.