Examples of FdtMdrillCollector


Examples of org.apache.solr.request.mdrill.FdtMdrillCollector

            query.add(q, BooleanClause.Occur.MUST);
          }
          int offset = params.getInt(FacetParams.FACET_CROSS_OFFSET, 0);
        int limit = params.getInt(FacetParams.FACET_CROSS_LIMIT, 100);
        int limit_offset=offset+limit;
          FdtMdrillCollector coll=new FdtMdrillCollector(limit_offset+2,searcher.maxDoc());
          searcher.ScoreFind(query, null,coll);
          result.setDocSet(new BitDocSet(coll.getBits()));
         }
     
    }else{
      searcher.search(result,cmd);
    }
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.