public abstract class DynamicGroupData extends GroupData
Constructor and Description |
---|
DynamicGroupData() |
Modifier and Type | Method and Description |
---|---|
abstract void |
collect(int doc,
float score)
Collect/build data for the given document and score.
|
abstract void |
finish()
Complete any tasks to finish building the group data.
|
abstract void |
init(IndexReader indexReader,
Set tokFields,
String params)
Initialize the data from the given index reader, set of tokenized fields,
and parameter string.
|
public abstract void init(IndexReader indexReader, Set tokFields, String params) throws IOException
IOException
public abstract void collect(int doc, float score)
doc
- Lucene document identifier for matching documentscore
- Calculated score for the doc (always greater than zero)public abstract void finish()