Re: Adding router.field property to an existing collection.

2014-06-26 Thread Modassar Ather
Thanks Damien for your response. We have modified our Solr schema a little bit to add router.field. Regards, Modassar On Thu, Jun 26, 2014 at 1:23 AM, Damien Dykman wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Modassar, > > I ran into the same issue (Solr 4.8.1) with an e

Re: Adding router.field property to an existing collection.

2014-06-25 Thread Damien Dykman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Modassar, I ran into the same issue (Solr 4.8.1) with an existing collection set to "implicit" routing but with no "router.field" defined. I managed to set the "router.field" by modifying /clusterstate.json and pushing it back to Zookeeper. For in

Adding router.field property to an existing collection.

2014-05-06 Thread Modassar Ather
Hi, I have a setup of two shard with embedded zookeeper and one collection on two tomcat instances. I cannot use uniqueKey i.e the compositeId routing for document routing as per my understanding it will change the uniqueKey. There is another way mentioned on Solr wiki is by using "router.field".