ExAliyunOts.Search.sub_agg_sort

You're seeing just the function sub_agg_sort, go back to ExAliyunOts.Search module for more information.
Link to this function

sub_agg_sort(sub_agg_name, order)

View Source

Specs

sub_agg_sort(sub_agg_name :: String.t(), order()) :: map()

Use in group_by_field/3 scenario, in ascending/descending order of the value from sub statistics.

Official document in Chinese | English