edu.mayo.informatics.indexer.lucene.hitcollector
Class BestScoreOfEntityHitCollector
java.lang.Object
org.apache.lucene.search.HitCollector
edu.mayo.informatics.indexer.lucene.hitcollector.AbstractBestScoreOfEntityHitCollector<java.util.List<org.apache.lucene.search.ScoreDoc>>
edu.mayo.informatics.indexer.lucene.hitcollector.BestScoreOfEntityHitCollector
- Direct Known Subclasses:
- BitSetFilteringBestScoreOfEntityHitCollector
public class BestScoreOfEntityHitCollector
- extends AbstractBestScoreOfEntityHitCollector<java.util.List<org.apache.lucene.search.ScoreDoc>>
The Class BestScoreOfEntityHitCollector.
- Author:
- Kevin Peterson
Method Summary |
protected void |
addToReturnValue(java.util.List<org.apache.lucene.search.ScoreDoc> results,
int docId,
float score)
|
protected java.util.List<org.apache.lucene.search.ScoreDoc> |
initializeResults()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BestScoreOfEntityHitCollector
public BestScoreOfEntityHitCollector(org.apache.lucene.search.DocIdSetIterator boundryDocIterator,
int maxDoc)
addToReturnValue
protected void addToReturnValue(java.util.List<org.apache.lucene.search.ScoreDoc> results,
int docId,
float score)
- Specified by:
addToReturnValue
in class AbstractBestScoreOfEntityHitCollector<java.util.List<org.apache.lucene.search.ScoreDoc>>
initializeResults
protected java.util.List<org.apache.lucene.search.ScoreDoc> initializeResults()
- Specified by:
initializeResults
in class AbstractBestScoreOfEntityHitCollector<java.util.List<org.apache.lucene.search.ScoreDoc>>