minor updates to milvus driver files

This commit is contained in:
Madhavan Sridharan
2024-04-24 09:16:35 -04:00
parent e22c44e044
commit 6545156ce3
3 changed files with 10 additions and 7 deletions

View File

@@ -45,7 +45,7 @@ public class MilvusSpace implements AutoCloseable {
protected MilvusServiceClient client;
private final Map<String, ConnectParam> connections = new HashMap<>();
// private final Map<String, ConnectParam> connections = new HashMap<>();
/**
* Create a new MilvusSpace Object which stores all stateful contextual information needed to interact

View File

@@ -24,7 +24,7 @@ import io.nosqlbench.adapters.api.templating.ParsedOp;
public class MilvusCreateCollectionOp extends MilvusBaseOp<CreateCollectionParam> {
/**
* Create a new {@link ParsedOp} encapsulating a call to the Milvus/Zilliz client delete method
* Create a new {@link ParsedOp} encapsulating a call to the Milvus/Zilliz client create method.
*
* @param client The associated {@link MilvusServiceClient} used to communicate with the database
* @param request The {@link CreateCollectionParam} built for this operation

View File

@@ -9,12 +9,15 @@ https://github.com/milvus-io/milvus-sdk-java.
The following parameters must be supplied to the adapter at runtime in order to successfully connect to an
instance of the Milvus/Zilliz database:
* token - In order to use the pinecone database you must have an account. Once the account is created you can [request
* `token` - In order to use the Milvus/Zilliz database you must have an account. Once the account is created you
can [request
an api key/token](https://milvus.io/docs/users_and_roles.md#Users-and-Roles). This key will need to be provided any
time a
database connection is desired.
* uri - When an Index is created in the database the uri must be specified as well. The adapter will
use the default value of localhost:19530 if none is provided at runtime.
time a database connection is desired. Alternatively,
the api key can be stored in a file securely and referenced via the `token_file` config option pointing to the path of
the file.
* `uri` - When an index is created in the database the URI/endpoint must be specified as well. The adapter will
use the default value of `localhost:19530` if none is provided at runtime.
* `database_name` or `database` - the name of the database to use. For Zilliz, only `default` is supported.
## Op Templates