Thanks iorixxx,

SolrQuery parameters = new SolrQuery();
parameters.set("q","*:*");
parameters.set("fl","Id,STATE_NAME,[shard]");
parameters.set("distrib","true");
QueryResponse response = server.query(parameters);

It's working fine now.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Knowing-shard-value-of-result-tp4119713p4119720.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to