org.apache.lucene.facet
Class FacetsCollector.MatchingDocs

java.lang.Object
  extended by 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 AtomicReaderContext. If scores were required, then scores is not null.


Field Summary
 DocIdSet bits
          Which documents were seen.
 AtomicReaderContext context
          Context for this segment.
 float[] scores
          Non-sparse scores array.
 int totalHits
          Total number of hits
 
Constructor Summary
FacetsCollector.MatchingDocs(AtomicReaderContext context, DocIdSet bits, int totalHits, float[] scores)
          Sole constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

FacetsCollector.MatchingDocs

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



Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.