Whoa! One of the main points of SolrCloud is that you shouldn't have (in most cases) to worry about the shard. If you must control the shard, you can include a prefix with the ! character.
So I really wonder if this is an XY problem. Please tell us the use-case you are trying to solve, perhaps there's a better answer. Best, Erick On Mon, Nov 10, 2014 at 2:25 AM, duan duan <dqj...@gmail.com> wrote: > Solr :use DIH to update indexes to SolrCloud in the Specified shard? > <http://stackoverflow.com/questions/26838674/solr-use-dih-to-update-indexes-to-solrcloud-in-the-specified-shard> > > Case: i want to insert indexes to solrcloud inspecified shard ,the shard > was that what i dynamically added. Can solr do it? > > Thanks.