public static final class Lucene.EarlyTerminatingCollector
extends org.apache.lucene.search.SimpleCollector
Lucene.EarlyTerminationException
when count of matched documents has reached maxCountHits| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
collect(int doc) |
int |
count() |
void |
doSetNextReader(org.apache.lucene.index.LeafReaderContext atomicReaderContext) |
boolean |
exists() |
boolean |
needsScores() |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public int count()
public boolean exists()
public void setScorer(org.apache.lucene.search.Scorer scorer)
throws IOException
setScorer インタフェース内 org.apache.lucene.search.LeafCollectorsetScorer クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionpublic void collect(int doc)
throws IOException
collect インタフェース内 org.apache.lucene.search.LeafCollectorcollect クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionpublic void doSetNextReader(org.apache.lucene.index.LeafReaderContext atomicReaderContext)
throws IOException
doSetNextReader クラス内 org.apache.lucene.search.SimpleCollectorIOExceptionpublic boolean needsScores()
Copyright © 2009–2016. All rights reserved.