Hi All,

I'm using Solr in distributed setup with two masters and two slaves for each
master.

This is the code I use for querying the SHRADS:

SolrQuery query = new SolrQuery();
 query.setQuery(q);
  query.setParam(ShardParams.SHARDS,shards);
  query.setRows(new Integer(maxResults));
 query.setIncludeScore(true);
    SolrDocumentList docList = response.getResults();


While querying, I monitored catalina.out and it was giving non zero hits,
but on my program the result size is zero. Am I missing something?

Thanks and Cheers,
Anshul



-- 
Anshul Jain

Reply via email to