Sort and limit with aggregation

hey,
i am want to do aggregation only on the first X items sort by some attributes,
is it possible ? didn't find a way ( elastic 7.13 )
thanks

You would need to add another field based filter in your query (i.e. the timestamp). Can you explain your use-case, so maybe we find another way.

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