SolrCloud | Apache Solr Reference Guide 8.6.1 Apache Solr Reference Guide About This Guide Getting Started Solr Tutorial A Quick Overview Solr System Requirements Installing Solr Deployment and Operations Solr Control Script Reference Solr Configuration Files Taking Solr to Production Making and Restoring Backups Running Solr on HDFS SolrCloud on AWS EC2 Upgrading a Solr Cluster IndexUpgraderTool Solr Upgrade Notes Major Changes in Solr 8 Major Changes in Solr 7 Major Changes from Solr 5 to Solr 6 Using the Solr Administration User Interface Overview of the Solr Admin UI Logging Cloud Screens Collections / Core Admin Java Properties Thread Dump Suggestions Screen Collection-Specific Tools Analysis Screen Dataimport Screen Documents Screen Files Screen Query Screen Stream Screen Schema Browser Screen Core-Specific Tools Ping Plugins & Stats Screen Replication Screen Segments Info Documents, Fields, and Schema Design Overview of Documents, Fields, and Schema Design Solr Field Types Field Type Definitions and Properties Field Types Included with Solr Working with Currencies and Exchange Rates Working with Dates Working with Enum Fields Working with External Files and Processes Field Properties by Use Case Defining Fields Copying Fields Dynamic Fields Other Schema Elements Schema API Putting the Pieces Together DocValues Schemaless Mode Understanding Analyzers, Tokenizers, and Filters Analyzers About Tokenizers About Filters Tokenizers Filter Descriptions CharFilterFactories Language Analysis Phonetic Matching Running Your Analyzer Indexing and Basic Data Operations Introduction to Solr Indexing Post Tool Uploading Data with Index Handlers Transforming and Indexing Custom JSON Indexing Nested Child Documents Uploading Data with Solr Cell using Apache Tika Uploading Structured Data Store Data with the Data Import Handler Updating Parts of Documents Detecting Languages During Indexing De-Duplication Content Streams Reindexing Searching Overview of Searching in Solr Velocity Search UI Relevance Query Syntax and Parsing Common Query Parameters The Standard Query Parser The DisMax Query Parser The Extended DisMax (eDismax) Query Parser Function Queries Local Parameters in Queries Other Parsers JSON Request API JSON Query DSL JSON Facet API JSON Faceting Domain Changes Faceting BlockJoin Faceting Highlighting Spell Checking Query Re-Ranking Learning To Rank Transforming Result Documents Searching Nested Child Documents Suggester MoreLikeThis Pagination of Results Collapse and Expand Results Result Grouping Result Clustering Spatial Search The Terms Component The Term Vector Component The Stats Component The Query Elevation Component The Tagger Handler Response Writers Velocity Response Writer Near Real Time Searching RealTime Get Exporting Result Sets Parallel SQL Interface Solr JDBC - DbVisualizer Solr JDBC - SQuirreL SQL Solr JDBC - Apache Zeppelin Solr JDBC - Python/Jython Solr JDBC - R Analytics Component Analytics Expression Sources Analytics Mapping Functions Analytics Reduction Functions Streaming Expressions Stream Source Reference Stream Decorator Reference Stream Evaluator Reference Math Expressions Scalar Math Vector Math Variables Matrices and Matrix Math Streams and Vectorization Text Analysis and Term Vectors Statistics Probability Distributions Monte Carlo Simulations Time Series Linear Regression Interpolation, Derivatives and Integrals Curve Fitting Digital Signal Processing Machine Learning Computational Geometry Graph Traversal Stream Request Handler API SolrCloud Getting Started with SolrCloud How SolrCloud Works Shards and Indexing Data in SolrCloud Distributed Requests Aliases SolrCloud Resilience SolrCloud Recoveries and Write Tolerance SolrCloud Query Routing And Read Tolerance SolrCloud Configuration and Parameters Setting Up an External ZooKeeper Ensemble Using ZooKeeper to Manage Configuration Files Collections API Cluster and Node Managment Commands Collection Management Commands Collection Aliasing Shard Management Commands Replica Management Commands Parameter Reference Command Line Utilities SolrCloud with Legacy Configuration Files Configsets API Rule-based Replica Placement Cross Data Center Replication (CDCR) CDCR Architecture CDCR Configuration Cross Data Center Replication Operations CDCR API SolrCloud Autoscaling Overview of SolrCloud Autoscaling Autoscaling Policy and Preferences SolrCloud Autoscaling Triggers SolrCloud Autoscaling Trigger Actions SolrCloud Autoscaling Listeners SolrCloud Autoscaling Automatically Adding Replicas SolrCloud Autoscaling Fault Tolerance Autoscaling API Migrating Rule-Based Replica Rules to Autoscaling Policies Colocating Collections Legacy Scaling and Distribution Introduction to Scaling and Distribution Distributed Search with Index Sharding Index Replication Combining Distribution and Replication Merging Indexes Solr Plugins Lib Directories and Directives Package Management Package Manager Internals Adding Custom Plugins in SolrCloud Mode The Well-Configured Solr Instance Configuring solrconfig.xml DataDir and DirectoryFactory in SolrConfig Schema Factory Definition in SolrConfig IndexConfig in SolrConfig RequestHandlers and SearchComponents in SolrConfig InitParams in SolrConfig UpdateHandlers in SolrConfig Query Settings in SolrConfig RequestDispatcher in SolrConfig Update Request Processors Codec Factory Solr Cores and solr.xml Format of solr.xml Defining core.properties CoreAdmin API Configsets Resource Loading Configuration APIs Blob Store API Config API Request Parameters API Managed Resources Implicit RequestHandlers JVM Settings v2 API Monitoring Solr Metrics Reporting Metrics History MBean Request Handler Configuring Logging Using JMX with Solr Monitoring Solr with Prometheus and Grafana Performance Statistics Reference Distributed Solr Tracing Securing Solr Configuring Authentication, Authorization and Audit Logging Basic Authentication Plugin Hadoop Authentication Plugin Kerberos Authentication Plugin Rule-Based Authorization Plugins JWT Authentication Plugin Enabling SSL Audit Logging ZooKeeper Access Control Client APIs Introduction to Client APIs Choosing an Output Format Using SolrJ Using JavaScript Using Python Using Solr From Ruby Other Clients Further Assistance Solr Glossary Errata How to Contribute to Solr Documentation Solr 8.6 Solr Website Other Formats Archived PDFs Other Versions Online Solr Resources Solr Javadocs Lucene/Solr Source Code Solr Community Links SolrCloud 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 master 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 How SolrCloud Works Shards and Indexing Data in SolrCloud Distributed Requests SolrCloud Resilience SolrCloud Recoveries and Write Tolerance SolrCloud Query Routing And Read Tolerance SolrCloud Configuration and Parameters Setting Up an External ZooKeeper Ensemble Using ZooKeeper to Manage Configuration Files ZooKeeper Access Control Collections API Parameter Reference Command Line Utilities SolrCloud with Legacy Configuration Files Configsets API Rule-based Replica Placement Cross Data Center Replication (CDCR) SolrCloud Autoscaling Colocating collections together Stream Request Handler API Getting Started with SolrCloud ©2020 Apache Software Foundation. All rights reserved. Site Version: 8.6.1 Site last generated: 2020-08-14