I have a query which include a function_score, I would like to execute the aggregations only on the first N elements ( sorted per _score ).
It is possible ? how ?
Thanks.
I have a query which include a function_score, I would like to execute the aggregations only on the first N elements ( sorted per _score ).
It is possible ? how ?
Thanks.