public final SingleResultNode getMax() {
        return max;
    }
Returns the maximum value found in all matching hits.

@return The value.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/MaxAggregationResult.java