If you are asking about how to use Solrj with SolrCloud, see
http://wiki.apache.org/solr/Solrj#Using_with_SolrCloud

If you are not using SolrCloud then add
"shards=solr_server1:port/solr,solr_server2:port/solr" as a parameter
to a query request. Indexing doesn't need anything special -- you just
send the update request to the solr which you want to update.

On Sat, Jul 6, 2013 at 2:37 AM, Ali, Saqib <docbook....@gmail.com> wrote:
> Hello all,
>
> Can anyone please share a solrj example for distributed solr?
>
> Thanks! :)



-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to