OpenSearch/modules/rank-eval
Christoph Büscher 2b07f63bd5
Fix NDCG for empty search results (#29267)
Fixes and edge case where DiscountedCumulativeGain can return NaN as
result of the quality metric calculation. This can happen when the
search result set is empty and normalization is used. We should return 0
in this case. Also adding related unit tests to the other two metrics.
2018-04-03 11:15:44 +02:00
..
src Fix NDCG for empty search results (#29267) 2018-04-03 11:15:44 +02:00
build.gradle Use SPI to provide named XContent parsers for ranking evaluation 2017-12-12 18:39:01 +01:00