/** * Creates a group hit * * @param id the id of this hit - any string, it is convenient to make this unique in the result containing this * @param relevance the relevancy of this group of hits * @param incomingHits the incoming buffer to which new hits can be added asynchronously */ protected HitGroup(String id, Relevance relevance, IncomingData<Hit> incomingHits) { super(id, relevance); this.incomingHits = incomingHits; setMeta(true); completedFuture = new ArrayDataList.DrainOnGetFuture<>(this); }