public void max(ResultNode rhs) {
        RawData b = new RawData(rhs.getRaw());
        if (value.compareTo(b) < 0) {
            value = b;
        }
    }
Sets the value of this result.

@param value The value to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/expression/RawResultNode.java