Examples of MatchingDocs


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

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

        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
Copyright © 2018 www.massapi.com. 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.