public class AllDocsCollector extends org.apache.lucene.search.Collector
Constructor and Description |
---|
AllDocsCollector() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
List<org.apache.lucene.search.ScoreDoc> |
getHits() |
void |
reset() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext arg0) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public AllDocsCollector()
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
public void setScorer(org.apache.lucene.search.Scorer scorer)
setScorer
in class org.apache.lucene.search.Collector
public void collect(int doc) throws IOException
collect
in class org.apache.lucene.search.Collector
IOException
public void reset()
public void setNextReader(org.apache.lucene.index.AtomicReaderContext arg0) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.