The Stats component computes some mathematical statistics of specified numeric fields in the index. The main requirement is that the field be indexed. The following statistics are computed over the non-null values (except `missing`

which counts the nulls):

`min`

: The smallest value.`max`

: The largest value.`sum`

: The sum.`count`

: The quantity of non-null values accumulated in these statistics.`missing`

: The quantity of records skipped due to missing values.`sumOfSquares`

: The sum of the square of each value. This is probably the least useful and is used internally to compute`stddev`

efficiently.`mean`

: The average value.`stddev`

: The standard deviation of the values.

This component performs a simple task and ...

Start Free Trial

No credit card required