public abstract static class AllGroupHeadsCollector.GroupHead<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
doc |
T |
groupValue |
| Modifier | Constructor and Description |
|---|---|
protected |
GroupHead(T 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 T groupValue
public int doc
protected GroupHead(T 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 occurCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.