Thanks for the links. It was very useful.

Is there a way to use implicit router WITH numShards parameter? We have 5 
shards and business day (Monday-Friday) is our shardkey. We want to be able to 
say Monday -> shard1, Tuesday -> shard2.....




-----Original Message-----
From: Joel Bernstein [mailto:joels...@gmail.com] 
Sent: Thursday, June 13, 2013 2:38 PM
To: solr-user@lucene.apache.org
Subject: Re: shardkey

Also you might want to check this blog post, just went up today.

http://searchhub.org/2013/06/13/solr-cloud-document-routing/


On Wed, Jun 12, 2013 at 2:18 PM, James Thomas <jtho...@camstar.com> wrote:

> This page has some good information on custom document routing:
>
> http://docs.lucidworks.com/display/solr/Shards+and+Indexing+Data+in+SolrCloud
>
>
>
> -----Original Message-----
> From: Rishi Easwaran [mailto:rishi.easwa...@aol.com]
> Sent: Wednesday, June 12, 2013 1:40 PM
> To: solr-user@lucene.apache.org
> Subject: Re: shardkey
>
> From my understanding.
> In SOLR cloud the CompositeIdDocRouter uses HashbasedDocRouter.
> CompositeId router is default if your numShards>1 on collection creation.
> CompositeId router generates an hash using the uniqueKey defined in your
> schema.xml to route your documents to a dedicated shard.
>
> You can use select?q=xyz&shard.keys=uniquekey to focus your search to hit
> only the shard that has your shard.key
>
>
>
>  Thanks,
>
> Rishi.
>
>
>
> -----Original Message-----
> From: Joshi, Shital <shital.jo...@gs.com>
> To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org>
> Sent: Wed, Jun 12, 2013 10:01 am
> Subject: shardkey
>
>
> Hi,
>
> We are using Solr 4.3.0 SolrCloud (5 shards, 10 replicas). I have couple
> questions on shard key.
>
>         1. Looking at the admin GUI, how do I know which field is being
> used for shard key.
>         2. What is the default shard key used?
>         3. How do I override the default shard key?
>
> Thanks.
>
>
>


-- 
Joel Bernstein
Professional Services LucidWorks

Reply via email to