SAP Knowledge Base Article - Preview

2979582 - Recommended number of shards and replicas in SOLR Cloud, what is a collection/core/shard/replica

Symptom

In Solr terminology, there is a sharp distinction between the logical parts of an index (collections, shards) and the physical manifestations of those parts (cores, replicas). In this diagram, the "logical" concepts are dashed/transparent, while the "physical" items are solid.

SearchStax Solr Glossary

Cluster:

A production deployment is usually a cluster of two or more Solr nodes coordinated by a Zookeeper ensemble (not shown).

Zookeeper ensures that changes to config files and updates to indexes are automatically distributed across the nodes of the cluster.

Node:

A single instance of Solr. In deployments, one node corresponds to one physical server or pod

Collection:

A single logical index in its entirety, regardless of how many replicas or shards it has. One Solr node can serve multiple collections.

Shard:

logical subset of the documents in a collection. Clients don't usually subdivide their collections, so for practical purposes a "shard" and a "collection" are the same thing.

Core and Replica:

A complete physical index on a node. In a typical collection, a "core" is the same thing as a "replica."


Read more...

Environment

SOLR Cloud

Keywords

KBA , CEC-COM-CPS-SER , Search , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.