Query in rated requests should not contain aggregations


Our search team is considering diversifying search results with diversified_sampler aggregation and child top_hits aggregation. I noticed that aggregations don’t work with the ranking evaluation API. Anyone got some workarounds/tips? I guess one workaround would be just to run regular search API calls and evaluate the aggregation results without relying on ES ranking evaluation API. But hoping there’s an easier/out-of-box solution.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.