blob: c080e08837e299e8d633a60c0a0e70a05d7718e7 [file] [log] [blame]
= SolrCloud
:page-children: getting-started-with-solrcloud, how-solrcloud-works, solrcloud-resilience, solrcloud-configuration-and-parameters, rule-based-replica-placement, cross-data-center-replication-cdcr, solrcloud-autoscaling, colocating-collections
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
Apache Solr includes the ability to set up a cluster of Solr servers that combines fault tolerance and high availability. Called *SolrCloud*, these capabilities provide distributed indexing and search capabilities, supporting the following features:
* Central configuration for the entire cluster
* Automatic load balancing and fail-over for queries
* ZooKeeper integration for cluster coordination and configuration.
SolrCloud is flexible distributed search and indexing, without a leader node to allocate nodes, shards and replicas. Instead, Solr uses ZooKeeper to manage these locations, depending on configuration files and schemas. Queries and updates can be sent to any server. Solr will use the information in the ZooKeeper database to figure out which servers need to handle the request.
In this section, we'll cover everything you need to know about using Solr in SolrCloud mode. We've split up the details into the following topics:
* <<getting-started-with-solrcloud.adoc#,Getting Started with SolrCloud>>
* <<how-solrcloud-works.adoc#,How SolrCloud Works>>
** <<shards-and-indexing-data-in-solrcloud.adoc#,Shards and Indexing Data in SolrCloud>>
** <<distributed-requests.adoc#,Distributed Requests>>
* <<solrcloud-resilience.adoc#,SolrCloud Resilience>>
** <<solrcloud-recoveries-and-write-tolerance.adoc#,SolrCloud Recoveries and Write Tolerance>>
** <<solrcloud-query-routing-and-read-tolerance.adoc#,SolrCloud Query Routing And Read Tolerance>>
* <<solrcloud-configuration-and-parameters.adoc#,SolrCloud Configuration and Parameters>>
** <<setting-up-an-external-zookeeper-ensemble.adoc#,Setting Up an External ZooKeeper Ensemble>>
** <<using-zookeeper-to-manage-configuration-files.adoc#,Using ZooKeeper to Manage Configuration Files>>
** <<zookeeper-access-control.adoc#,ZooKeeper Access Control>>
** <<collections-api.adoc#,Collections API>>
** <<parameter-reference.adoc#,Parameter Reference>>
** <<command-line-utilities.adoc#,Command Line Utilities>>
** <<solrcloud-with-legacy-configuration-files.adoc#,SolrCloud with Legacy Configuration Files>>
** <<configsets-api.adoc#,Configsets API>>
* <<rule-based-replica-placement.adoc#,Rule-based Replica Placement>>
* <<cross-data-center-replication-cdcr.adoc#,Cross Data Center Replication (CDCR)>>
* <<solrcloud-autoscaling.adoc#,SolrCloud Autoscaling>>
* <<colocating-collections.adoc#,Colocating collections together>>