statistic(name:value:)
Creates a pipeline data structure from statistical information.
Declaration
static func statistic(name: String, value: Double) -> SearchPipelineDataParameters
- name:
The name of the statistic your stage produced. Specify strings like “average”, “max”, “min”, “sum”, “median”, or “stddev”.
- value:
The statistical value you generated.