public Group setRank(double rank) {
        this.rank = rank;
        return this;
    }
Sets the relevancy to use for this group.

@param rank The rank to set.
@return This, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/Group.java