public AggregationResult setTag(int tag) {
        this.tag = tag;
        return this;
    }
Assigns a tag to this group.

@param tag the numerical tag to set.
@return this, to allow chaining.
searchlib/src/main/java/com/yahoo/searchlib/aggregation/AggregationResult.java