You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Anshul jain <an...@epfl.ch> on 2009/02/19 17:14:10 UTC

Query results problem

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