共用方式為


ScoringFunctionAggregation type

定義 ScoringFunctionAggregation 的值。

type ScoringFunctionAggregation =
  | "sum"
  | "average"
  | "minimum"
  | "maximum"
  | "firstMatching"