What is Cross-Cluster Replication (CCR) and Cross-Cluster Search (CCS)?
Answer
Cross-Cluster Replication (CCR) continuously replicates indices from a leader cluster to one or more follower clusters. It enables disaster recovery (automatic failover to a replica cluster in another data center), geo-proximity (replicate data to a local cluster to reduce search latency for users in different regions), and centralized reporting (aggregate data from multiple regional clusters into a single reporting cluster). Cross-Cluster Search (CCS) allows a single search query to transparently execute across multiple clusters and return merged results. With CCS, you can search cluster1:logs-*,cluster2:logs-* in one query. CCS is useful for federated search across multiple independent Elasticsearch clusters without physically consolidating data.
Previous
What is Index Lifecycle Management (ILM) in Elasticsearch?
Next
How do script_score and function_score work for custom relevance?
More Elasticsearch Questions
View all →- Advanced What are cluster health states in Elasticsearch and what causes each?
- Advanced What is hot-warm-cold architecture in Elasticsearch?
- Advanced What is Index Lifecycle Management (ILM) in Elasticsearch?
- Advanced How do script_score and function_score work for custom relevance?
- Advanced What are Elasticsearch hardware tuning best practices?