lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <>
Subject Re: 1 Solr many Shards?
Date Mon, 09 Feb 2015 23:52:08 GMT
Check out the maxShardsPerNode param for CREATE collection here:

It defaults to 1 i.e. on a single node, only a single shard for the
collection is allowed but you can override to a really high value e.g.
start SolrCloud with a single node, create collection with numShards=5 and
maxShardsPerNode=5 (or more), This will allow you to place multiple shards
for the same collection on a single node.

Also, the -DzkHost parameter has nothing to do with this. It is the
connection string for the ZooKeeper server/ensemble and is required to
start a SolrCloud node but has no impact on what you've asked.

On Mon, Feb 9, 2015 at 2:56 PM, Matt Kuiper <> wrote:

> My understanding is that a single Solr instance can "manage" multiple
> cores/indexes.  I am wondering if a single Solr instance can manage
> multiple shards (but not necessarily  all) of an index.
> If so, how might this be configured and the Solr instance started?  I am
> familiar with starting a Solr server within a Solr Cloud that handles a
> single shard of an index by specifying the DzkHost parameter.
> Thanks,
> Matt Kuiper

Anshum Gupta

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