public abstract static class AbstractAllGroupHeadsCollector.GroupHead<GROUP_VALUE_TYPE> extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
doc |
GROUP_VALUE_TYPE |
groupValue |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractAllGroupHeadsCollector.GroupHead(GROUP_VALUE_TYPE groupValue,
int doc) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract int |
compare(int compIDX,
int doc)
Compares the specified document for a specified comparator against the current most relevant document.
|
protected abstract void |
updateDocHead(int doc)
Updates the current most relevant document with the specified document.
|
public final GROUP_VALUE_TYPE groupValue
public int doc
protected AbstractAllGroupHeadsCollector.GroupHead(GROUP_VALUE_TYPE groupValue, int doc)
protected abstract int compare(int compIDX,
int doc)
throws IOException
compIDX - The comparator index of the specified comparator.doc - The specified document.IOException - If I/O related errors occurprotected abstract void updateDocHead(int doc)
throws IOException
doc - The specified documentIOException - If I/O related errors occur