Sort and limit with aggregation

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 )

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.