Class FacetsCollector.MatchingDocs

java.lang.Object
org.apache.lucene.facet.FacetsCollector.MatchingDocs
Enclosing class:
FacetsCollector

public static final class FacetsCollector.MatchingDocs extends Object
Holds the documents that were matched in the LeafReaderContext. If scores were required, then scores is not null.
  • Field Details

    • context

      public final LeafReaderContext 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 Details

    • MatchingDocs

      public MatchingDocs(LeafReaderContext context, DocIdSet bits, int totalHits, float[] scores)
      Sole constructor.