public Hit remove(int index) {
        updateHits();
        Hit hit = hits.remove(index);
        handleRemovedHit(hit);

        return hit;
    }
Removes a hit from this group (not considering the hits of any subgroup)

@param index the position of the hit to remove
@return the hit removed
@throws IndexOutOfBoundsException if there is no hit at the given position
container-search/src/main/java/com/yahoo/search/result/HitGroup.java