摘要:
1 package org.apache.lucene.search; 2 3 import org.apache.lucene.util.PriorityQueue; 4 5 public class TopDocCollector extends HitCollector { 6 7 private ScoreDoc reusableSD; 8 9 int totalHits;10 PriorityQueue hq;11 12 public TopDocCollector(int numHits) {13 this(numHits, new Hit... 阅读全文