Re: writing to shards

2011-11-13 Thread Ankita Patil
Oh ok. Thanks. Ankita On 13 November 2011 07:56, Erick Erickson wrote: > You currently have to handle it programmatically. They are entirely > separate > Solr instances for all that they talk to each other, there's no way > currently > to just hand of the new document and have Solr "do the righ

Re: writing to shards

2011-11-12 Thread Erick Erickson
You currently have to handle it programmatically. They are entirely separate Solr instances for all that they talk to each other, there's no way currently to just hand of the new document and have Solr "do the right thing", so you have to address the shard specifically... Some of the new Solr clou

writing to shards

2011-11-11 Thread Ankita Patil
Hi, I have an index which has the shard parameter pointing to 2 shards(server1, server2). While reading from the shards you query on the index with the shard parameter and it will retrieve the documents from both the shards. Now I want to add the documents to their respective shards depending on