Class FacetsCollector.MatchingDocs

  • Enclosing class:

    public static final class FacetsCollector.MatchingDocs
    extends java.lang.Object
    Holds the documents that were matched in the AtomicReaderContext. If scores were required, then scores is not null.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • 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.