private Hit convertFs4Hit(String summaryClass, FS4Hit groupHit) {
        FastHit hit = new FastHit(groupHit.getGlobalId().getRawId(),
                                  new Relevance(groupHit.getRank()),
                                  groupHit.getPath(), groupHit.getDistributionKey());
        hit.setFillable();
        hit.setSearcherSpecificMetaData(searcher, summaryClass);

        GroupingListHit hitContext = (GroupingListHit)groupHit.getContext();
        if (hitContext == null)
            throw new NullPointerException("Hit has no context.");
        hit.setSource(hitContext.getSource());
        hit.setQuery(hitContext.getQuery());
        return hit;
    }
Creates a new instance of this class.

@param searcher The searcher that owns this converter.
container-search/src/main/java/com/yahoo/search/grouping/vespa/HitConverter.java