milvus-logo
LFAI
< Docs
  • Python

get_replicas()

This method checks the replica information.

Invocation

get_replicas()

Return

The information about replica groups and the corresponding query nodes and shard.

Raises

Example

from pymilvus import Partition
partition = Partition("book", "novel")
partition.load(replica_number=2)    # Load partition as 2 replicas
result = partition.get_replicas()
print(result)

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?