Milvus
数据库模式 Vector
官网 https://milvus.io/
说明文档 https://milvus.io/docs/overview.md
安装说明 https://milvus.io/docs/install_standalone-docker.md
数据类型说明
DDL说明
元数据说明
示例代码
驱动类
驱动下载
驱动maven io.milvus:milvus-sdk-java:2.4.0
JDBC-URL
支持语言 C++,Go,Java,JavaScript (Node.js),Python
支持接口 RESTful HTTP API
sdk与milvus版本兼容

Milvus SDK
2.0.2 2.0.4
2.1 2.1.0-beta4
2.2.0 ~ 2.2.8 2.2.5
2.2.9 ~ 2.2.14 2.2.13
2.3.x 2.3.6
2.4.x 2.4.2
数据源配置参数 https://milvus.io/api-reference/java/v2.4.x/v2/Client/MilvusClientV2.md

  • token(String token)

    A valid access token to access the specified Milvus instance.

    This can be used as a recommended alternative to setting user and password separately.

    When setting this field, notice that:

    A valid token should be a pair of username and password used to access the target cluster, joined by a colon (:). For example, you can set this to root:Milvus, which is the default credential of the root user.

    Use this if authentication has been enabled on the target Milvus instance. To enable authentication, refer to Authenticate User Access.

  • username(String userName)

    A valid username used to connect to the specified Milvus instance.

    Use this if authentication has been enabled on the target Milvus instance. To enable authentication, refer to Authenticate User Access.

    This should be used along with password.

  • password(String password)

    A valid password used to connect to the specified Milvus instance.

    Use this if authentication has been enabled on the target Milvus instance. To enable authentication, refer to Authenticate User Access.

    This should be used along with user.

  • dbName(String databaseName)

    The name of the database to which the target Milvus instance belongs.

  • connectTimeoutMs(long connectTimeout)

    The timeout duration for this operation, in milliseconds.

    The value defaults to 10000.

  • keepAliveTimeMs(long keepAliveTime)

    The time in milliseconds between keep-alive probes sent by the client to the server.

    The value defaults to 55000.

  • keepAliveTimeoutMs(long keepAliveTimeout)

    The timeout duration in milliseconds for the server to respond to a keep-alive probe sent by the client.

    The value defaults to 20000.

  • keepAliveWithoutCalls(boolean enable)

    Whether to send keep-alive probes without making requests.

    The value defaults to false.

  • rpcDeadlineMs(long rpcDeadline)

    The deadline for RPC calls (disabled).

    The value defaults to 0, which indicates the deadline is disabled.

  • clientKeyPath(String clientKeyPath)

    The path to the client key file for two-way authentication.

  • clientPemPath(String clientPemPath)

    The path to the client PEM file for two-way authentication.

  • caPemPath(String caPemPath)

    The path to the CA PEM file for two-way authentication.

  • serverPemPath(String serverPemPath)

    The path to the server PEM file for two-way authentication.

  • serverName(String serverName)

    The expected name of the server.

  • secure(boolean enable)

    Whether to use TLS for the connection.

    The value defaults to true.

  • idleTimeoutMs(long idleTimeout)

    The idle timeout for a connection.


首页 最近更新 搜索 提交 回复