|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Aggregator
Aggregates the categories of documents given to
aggregate(int, float, IntsRef)
. Note that the document IDs are local
to the reader given to setNextReader(AtomicReaderContext)
.
Method Summary | |
---|---|
void |
aggregate(int docID,
float score,
IntsRef ordinals)
Aggregate the ordinals of the given document ID (and its score). |
boolean |
setNextReader(AtomicReaderContext context)
Sets the AtomicReaderContext for which
aggregate(int, float, IntsRef) calls will be made. |
Method Detail |
---|
boolean setNextReader(AtomicReaderContext context) throws IOException
AtomicReaderContext
for which
aggregate(int, float, IntsRef)
calls will be made. If this method
returns false, aggregate(int, float, IntsRef)
should not be called
for this reader.
IOException
void aggregate(int docID, float score, IntsRef ordinals) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |