@Override
    public void max(ResultNode rhs) {
        double value = rhs.getFloat();
        if (value > this.value) {
            this.value = value;
        }
    }
Sets the value of this result.

@param value The value to set.
searchlib/src/main/java/com/yahoo/searchlib/expression/FloatResultNode.java