Here's another link: http://searchhub.org/2013/06/13/solr-cloud-document-routing/
I have to ask why you want to do this? If you want to put docs in a particular shard yourself, you have to be very careful that you're not shooting yourself in the foot. Not saying it's a bad idea, but this may be an XY problem. What is the use-case you're supporting by doing this? Would separate collections serve as well? Best, Erick On Tue, Sep 2, 2014 at 2:03 AM, Himanshu Mehrotra < himanshu.mehro...@snapdeal.com> wrote: > Hi, > > You can use multi level compositeId routing in solr cloud. Read through > the following link http://searchhub.org/2014/01/06/10590/ it should help. > > Thanks, > Himanshu > > > > On Tue, Sep 2, 2014 at 1:25 PM, Ankit Jain <ankitjainc...@gmail.com> > wrote: > > > Hi All, > > > > I want to route data into shards depends on value of input column. For > > example: > > > > I am getting user data and want to store data of user1 on shard1 and > user2 > > on shard2 and so on. > > > > Can you please let me know, how we can achieve the above scenario in > Solr. > > > > -- > > Thanks, > > Ankit Jain > > > > > > -- > > Himanshu Mehrotra > > Download Our App[image: A] > < > https://play.google.com/store/apps/details?id=com.snapdeal.main&utm_source=mobileAppLp&utm_campaign=android > >[image: > A] > < > https://itunes.apple.com/in/app/snapdeal-mobile-shopping/id721124909?ls=1&mt=8&utm_source=mobileAppLp&utm_campaign=ios > >[image: > W] > < > http://www.windowsphone.com/en-in/store/app/snapdeal/ee17fccf-40d0-4a59-80a3-04da47a5553f > > > *Ext*: 529 > > 246 OKHLA PHASE III, NEW DELHI 110 020, INDIA > [image: Snapdeal.com] <http://www.snapdeal.com/> >