lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Krupansky <jack.krupan...@gmail.com>
Subject Re: Limit the documents for each shard in solr cloud
Date Thu, 07 May 2015 15:05:46 GMT
A leader is also a replica - SolrCloud is not a master/slave architecture.
Any replica can be elected to be the leader, but that is only temporary and
can change over time.

You can place multiple shards on a single node, but was that really your
intention?

Generally, number of nodes equals number of shards times the replication
factor. But then divided by shards per node if you do place more than one
shard per node.

-- Jack Krupansky

On Thu, May 7, 2015 at 1:29 AM, Jilani Shaik <jilani24239@gmail.com> wrote:

> Hi,
>
> Is it possible to restrict number of documents per shard in Solr cloud?
>
> Lets say we have Solr cloud with 4 nodes, and on each node we have one
> leader and one replica. Like wise total we have 8 shards that includes
> replicas. Now I need to index my documents in such a way that each shard
> will have only 5 million documents. Total documents in Solr cloud should be
> 20 million documents.
>
>
> Thanks,
> Jilani
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message