On Tue, May 17, 2016 at 9:40 AM, John Smith <solr-u...@remailme.net> wrote: > 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. >
I believe this is as designed, see this email from Shawn: https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201604.mbox/%3c570d0a03.5010...@elyograg.org%3E Cheers Tom