org.apache.lucene.search.LeafCollector
LeafBucketCollectorBase
, ProfilingLeafBucketCollector
public abstract class LeafBucketCollector
extends java.lang.Object
implements org.apache.lucene.search.LeafCollector
Modifier and Type | Field | Description |
---|---|---|
static LeafBucketCollector |
NO_OP_COLLECTOR |
Constructor | Description |
---|---|
LeafBucketCollector() |
Modifier and Type | Method | Description |
---|---|---|
void |
collect(int doc) |
|
abstract void |
collect(int doc,
long bucket) |
Collect the given doc in the given bucket.
|
void |
setScorer(org.apache.lucene.search.Scorer scorer) |
|
static LeafBucketCollector |
wrap(java.lang.Iterable<LeafBucketCollector> collectors) |
public static final LeafBucketCollector NO_OP_COLLECTOR
public static LeafBucketCollector wrap(java.lang.Iterable<LeafBucketCollector> collectors)
public abstract void collect(int doc, long bucket) throws java.io.IOException
java.io.IOException
public final void collect(int doc) throws java.io.IOException
collect
in interface org.apache.lucene.search.LeafCollector
java.io.IOException
public void setScorer(org.apache.lucene.search.Scorer scorer) throws java.io.IOException
setScorer
in interface org.apache.lucene.search.LeafCollector
java.io.IOException