On Feb 2, 2012, at 9:51 AM, dar...@ontrenet.com wrote: > Hi, > I want to use SolrCloud in a more federated mode rather than > replication. The failover is nice, but I am more interested in > increasing capacity of an index through horizontal scaling (shards). > > How can I configure shards such that they retain their own documents and > don't replicate (or replicate to some shards and not all)? Thus, when I > search from any shard I want results from all shards (being different > results from each). > > Currently, if I kill a shard (using the example provided), no search works > and it errors out. > > thanks!
What example are you trying? Are you following it exactly? In order to serve requests at least one instance has to be up for every shard - but what you describe is how things work if you have enough replicas. Example A splits the index across two shards, but there are no replicas - if an instance goes down, search will not work. Example B and C add replicas. This means that one instance can die per shard and you will still be able to serve requests. Keep in mind that if you are running ZooKeeper with Solr (as the examples do), you have to make sure at least half the nodes running ZooKeeper are up. If that is only one node, you cannot kill that node - it will be a single point of failure unless you create a ZooKeeper ensemble. - Mark Miller lucidimagination.com