Re: help on implicit routing

2017-12-26 Thread Erick Erickson
copyField is _much_ too late. That only happens _after_ the doc lands on a shard, i.e. after it's been routed. The routing field must be populated before that stage. Why are you bothering with the _route_ field anyway? It's unnecessary. First of all, the name of the shard must match the value in

RE: help on implicit routing

2017-12-25 Thread hemanth
I am trying here implicit routing and want to create a collection with 3 shards with names Active,Inactive and Terminated. I created a _route_ field in schema and copied my status field which contains Active or Inactive or Terminated. I used copyfield in schema.xml to copy from status to _route_.

RE: help on implicit routing

2017-07-09 Thread imran
Thanks for the reference, I am guessing this feature is not available through the post utility inside solr/bin Regards, Imran Sent from Mail for Windows 10 From: Jan Høydahl Sent: Friday, July 7, 2017 1:51 AM To: solr-user@lucene.apache.org Subject: Re: help on implicit routing http

Re: help on implicit routing

2017-07-07 Thread Jan Høydahl
http://lucene.apache.org/solr/guide/6_6/shards-and-indexing-data-in-solrcloud.html -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 6. jul. 2017 kl. 03.15 skrev im...@elogic.pk: > >

RE: help on implicit routing

2017-07-07 Thread imran
Thanks that was helpful, can this be done without modifying the document also when posting data through the post utility or a java client? Regards, Imran Sent from Mail for Windows 10 From: Susheel Kumar Sent: Thursday, July 6, 2017 7:52 AM To: solr-user@lucene.apache.org Subject: Re: help on

Re: help on implicit routing

2017-07-06 Thread Susheel Kumar
Eric has provided the details on other email. See below Use the _route_ field and put in "day_1" or "day_2". You've presumably named the shards (the "shard" parameter) when you added them with the CREATESHARD command so use the value you specified there. Best, Erick On Wed, Jul 5, 2017 at

Re: help on implicit routing

2017-07-05 Thread Erick Erickson
Use the _route_ field and put in "day_1" or "day_2". You've presumably named the shards (the "shard" parameter) when you added them with the CREATESHARD command so use the value you specified there. Best, Erick On Wed, Jul 5, 2017 at 6:15 PM, wrote: > I am trying out the document routing featur