On 11/7/2013 2:52 PM, Software Dev wrote:
Sorry about the confusion. I meant I created my config via the ZkCLI and
then I wanted to create my core via the CollectionsAPI. I *think* I have it
working but was wondering why there are a crazy amount of core names under
the admin "Core Selector"?

When I create X amount of shards via the bootstrap command I think it only
creates 1 core. Am I missing something?

If you create it with numShards=1 and replicationFactor=2, you'll end up with a total of 2 cores across all your Solr instances. For my simple cloud install, these are the numbers that I'm using. One shard, a total of two copies.

If you create it with the numbers given on the wiki page, numShards=3 and replicationFactor=4, there would be a total of 12 cores created across all your servers. The maxShardsPerNode parameter defaults to 1, which means that only 1 core per instance (SolrCloud node) is allowed for that collection. If there aren't enough Solr instances for the numbers you have entered, the creation will fail.

I don't know any details about what the bootstrap_conf parameter actually does when it creates collections. I've never used it - I want to be in control of the configs and collections that get created.

Thanks,
Shawn

Reply via email to