Package org.apache.lucene.facet
Class FacetsCollector.MatchingDocs
- java.lang.Object
-
- org.apache.lucene.facet.FacetsCollector.MatchingDocs
-
- Enclosing class:
- FacetsCollector
public static final class FacetsCollector.MatchingDocs extends java.lang.Object
Holds the documents that were matched in theAtomicReaderContext
. If scores were required, thenscores
is not null.
-
-
Constructor Summary
Constructors Constructor Description MatchingDocs(AtomicReaderContext context, DocIdSet bits, int totalHits, float[] scores)
Sole constructor.
-
-
-
Field Detail
-
context
public final AtomicReaderContext context
Context for this segment.
-
bits
public final DocIdSet bits
Which documents were seen.
-
scores
public final float[] scores
Non-sparse scores array.
-
totalHits
public final int totalHits
Total number of hits
-
-
Constructor Detail
-
MatchingDocs
public MatchingDocs(AtomicReaderContext context, DocIdSet bits, int totalHits, float[] scores)
Sole constructor.
-
-