How to index data in a specific shard using solrj
问题 I am using solrj as client to index documents into solr cloud (Using solr4.5) I had a requirement to save documents based on tenant_id, so i am trying to do document routing . Which is possible only if the collection is created using numShards parameter (http://searchhub.org/2013/06/13/solr-cloud-document-routing/) I have two instances of solr in solr cloud(example1/solr and example2/solr) and exrenal zookeeper which is running in 2181 port. Both the instances consist collection called