@Override
    public ResultNode getRank() {
        return new IntegerResultNode(xor);
    }
Sets the current xor value.

@param xor The value to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/XorAggregationResult.java