getServerVersion()

This operation returns the version string of the connected Milvus serverZilliz Cloud cluster.

public String getServerVersion()

RETURNS:

String

The version string of the server (e.g., "2.6.13").

EXCEPTIONS:

  • MilvusClientException

    This exception will be raised when any error occurs during this operation.

Example

String version = client.getServerVersion();
System.out.println(version); // "2.6.13"

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?