Aggregation on Multisearch responses

Hi,

Is it possible to run an aggregation on multiple response sets returned by the multisearch API? As an example, say I execute 10 different queries through the multisearch API, and each query returns 10 documents with their individual score (in total i get back 10 responses, each with 10 documents). Is there any way to aggregate the scores of these 100 responses? For example, compute the mean of these scores?

I've implemented this logic in the application backend, but was just curious if this is possible directly in ES.

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