@Override
    protected boolean equalsAggregation(AggregationResult obj) {
        HitsAggregationResult rhs = (HitsAggregationResult)obj;
        if ( ! summaryClass.equals(rhs.summaryClass)) return false;
        if (maxHits != rhs.maxHits) return false;
        if ( ! hits.equals(rhs.hits)) return false;
        return true;
    }
Adds a hit to this aggregation result

@param h the hit
@return this object
searchlib/src/main/java/com/yahoo/searchlib/aggregation/HitsAggregationResult.java