@Override
    public boolean equals(Object other) {
        if (other == this) return true;
        if (!(other instanceof Group)) return false;
        return ((Group) other).id == this.id;
    }
Returns whether this group has too few documents per node to expect it to be balanced
container-search/src/main/java/com/yahoo/search/dispatch/searchcluster/Group.java