Class GroupFacetCollector.SegmentResult
java.lang.Object
org.apache.lucene.search.grouping.GroupFacetCollector.SegmentResult
- Enclosing class:
- GroupFacetCollector
Contains the local grouped segment counts for a particular segment. Each
SegmentResult
must be added together.-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
SegmentResult
(int[] counts, int total, int missing, int maxTermPos) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
nextTerm()
Go to next term in thisSegmentResult
in order to retrieve the grouped facet counts.
-
Field Details
-
counts
protected final int[] counts -
total
protected final int total -
missing
protected final int missing -
maxTermPos
protected final int maxTermPos -
mergeTerm
-
mergePos
protected int mergePos
-
-
Constructor Details
-
SegmentResult
protected SegmentResult(int[] counts, int total, int missing, int maxTermPos)
-
-
Method Details
-
nextTerm
Go to next term in thisSegmentResult
in order to retrieve the grouped facet counts.- Throws:
IOException
- If I/O related errors occur
-