public void setHits(HitGroup hits) {
        Validator.ensureNotNull("The top-level hit group of " + this,hits);
        this.hits=hits;
    }
Sets the top level hit group containing all the hits of this result
container-search/src/main/java/com/yahoo/search/Result.java