Contents

statistic(name:value:)

Creates a pipeline data structure from statistical information.

Declaration

static func statistic(name: String, value: Double) -> SearchPipelineData

Parameters

  • 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.

See Also

Configuring the pipeline data