final void add(int slot, int doc, float score) throws IOException { IndexEntry entry = getIndexEntry(slot, doc, score); bottom = hitQueue.add(entry); queueFull = (totalHits == numHits); }
final void updateBottom(int slot, int doc, float score) throws IOException { hitQueue.pop(); bottom = getIndexEntry(slot, doc, score); hitQueue.add(bottom); }
og.readerContext = context; copyGroups(og); bottom = queue.add(og); queueFull = totalHitCount == numParentHits; if (queueFull) {