I'm trying to create a collection starting with only one shard
(numShards=1) using a compositeID router. The purpose is to start small
and begin splitting shards when the index grows larger. The shard
created gets a weird range value: 80000000-7fffffff, which doesn't look
effective. Indeed, if a try to import some documents using a DIH, none
gets added.

If I create the same collection with 2 shards, the ranges seem more
logical (0-7fffffff & 80000000-ffffffff). In this case documents are
indexed correctly.

Is this behavior by design, i.e. is a minimum of 2 shards required? If
not, how can I create a working collection with a single shard?

This is Solr-6.0.0 in cloud mode with zookeeper-3.4.8.

Thanks,
John

Reply via email to