public abstract class LeafBucketCollector extends Object implements org.apache.lucene.search.LeafCollector
Modifier and Type | Field and Description |
---|---|
static LeafBucketCollector |
NO_OP_COLLECTOR |
Constructor and Description |
---|
LeafBucketCollector() |
Modifier and Type | Method and 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(Iterable<LeafBucketCollector> collectors) |
public static final LeafBucketCollector NO_OP_COLLECTOR
public static LeafBucketCollector wrap(Iterable<LeafBucketCollector> collectors)
public abstract void collect(int doc, long bucket) throws IOException
IOException
public final void collect(int doc) throws IOException
collect
in interface org.apache.lucene.search.LeafCollector
IOException
public void setScorer(org.apache.lucene.search.Scorer scorer) throws IOException
setScorer
in interface org.apache.lucene.search.LeafCollector
IOException
Copyright © 2009–2016. All rights reserved.