A terms query will be better than a boolean query here (assuming you don't care about scoring those terms): http://heliosearch.org/solr-terms-query/
But you need a recent version of Solr or Heliosearch. -Yonik http://heliosearch.org - native code faceting, facet functions, sub-facets, off-heap data On Mon, Oct 13, 2014 at 12:10 PM, ankit gupta <ankitgupta...@gmail.com> wrote: > hi, > > Can we quantify the impact on SOLR memory usage/performance if we increase > the boolean clause. I am currently using lot of OR clauses in the query > (close to 10K) and can see heap size growing. > > Thanks, > Ankit