メインコンテンツまでスキップ

getServerVersion()

Addedv2.6.xModifiedv2.6.x

This operation returns the version string of the connected .

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"