Weaviate · Schema

ReplicationShardingState

Details the sharding layout for a specific collection, mapping each shard to its set of replicas across the cluster.

Vector DatabaseAIMachine LearningSemantic SearchOpen SourceGraphQLKubernetes

Properties

Name Type Description
collection string The name of the collection.
shards array An array detailing each shard within the collection and the nodes hosting its replicas.
View JSON Schema on GitHub

JSON Schema

weaviate-replication-sharding-state-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/weaviate/json-schema/weaviate-replication-sharding-state-schema.json",
  "title": "ReplicationShardingState",
  "description": "Details the sharding layout for a specific collection, mapping each shard to its set of replicas across the cluster.",
  "type": "object",
  "properties": {
    "collection": {
      "type": "string",
      "description": "The name of the collection."
    },
    "shards": {
      "type": "array",
      "description": "An array detailing each shard within the collection and the nodes hosting its replicas.",
      "items": {
        "$ref": "#/components/schemas/ReplicationShardReplicas"
      }
    }
  }
}