Package org.apache.lucene.facet.search.FacetsCollector

Examples of org.apache.lucene.facet.search.FacetsCollector.MatchingDocs


            throws IOException {
        reader = atomicReaderContext.reader();
        docIdValues = reader.getNumericDocValues(LuceneUtil.FIELD_DOC_ID);

        if (bits != null) {
            matchingDocs.add(new MatchingDocs(context, bits, totalHits, scores));
        }
        bits = new FixedBitSet(reader.maxDoc());
        totalHits = 0;
        scores = new float[64]; // some initial size
        context = atomicReaderContext;
View Full Code Here


        context = atomicReaderContext;
    }
   
    protected void finish() {
      if (bits != null) {
        matchingDocs.add(new MatchingDocs(this.context, bits, totalHits, scores));
        bits = null;
        scores = null;
        context = null;
      }
    }
View Full Code Here

TOP

Related Classes of org.apache.lucene.facet.search.FacetsCollector.MatchingDocs

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.