public class DocSetCollector
extends org.apache.lucene.search.Collector
Constructor and Description |
---|
DocSetCollector(int smallSetSize,
int maxDoc) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsDocsOutOfOrder() |
void |
collect(int doc) |
DocSet |
getDocSet() |
void |
setNextReader(org.apache.lucene.index.AtomicReaderContext context) |
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
public void collect(int doc) throws IOException
collect
in class org.apache.lucene.search.Collector
IOException
public DocSet getDocSet()
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in class org.apache.lucene.search.Collector
IOException
public void setNextReader(org.apache.lucene.index.AtomicReaderContext context) throws IOException
setNextReader
in class org.apache.lucene.search.Collector
IOException
public boolean acceptsDocsOutOfOrder()
acceptsDocsOutOfOrder
in class org.apache.lucene.search.Collector
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.