Results 290 comments of groot

Use bytesarray can avoid the problem. Declare a bytearray object and append vectors to it, and assign the bytesarray to field_data.vectors.int8_vector eventually. ``` import random import numpy as np dim...

RemoteBulkWriter requires a local path to temporarily persist data files and then upload to s3. The local path is automatically detected from the path where to run the script. The...

This pr will fix the issue: https://github.com/milvus-io/pymilvus/pull/3077 We offer a parameter for RemoteBulkWriter to specify the local temp path: ``` with RemoteBulkWriter( schema=schema, remote_path="bulk_data", local_path="/tmp/PARQUET", connect_param=RemoteBulkWriter.S3ConnectParam( endpoint=MINIO_ADDRESS, access_key=MINIO_ACCESS_KEY, secret_key=MINIO_SECRET_KEY, bucket_name="a-bucket",...

Seems no problem, the following example is a partial_update demo, it works well. Which version of your milvus server and pymilvus client? ``` import random from pymilvus import ( MilvusClient,...

Note that partial upsert requires the milvus server version >= v2.6.2 And the pymilvus v2.6.2 release note mentioned it fixed some bugs about partial update: https://github.com/milvus-io/pymilvus/releases/tag/v2.6.2

Fields in dynamic_field can be treated as a normal field, you don't need "$meta" in the filter expression. This example shows the correct way to do filtering in a dynamic...

MilvusClientV2Pool uses a predefined ConnectConfig to create MilvusClient objects. All MilvusClient objects are using the same ConnectConfig: ``` ConnectConfig connectConfig = ConnectConfig.builder() .uri("http://localhost:19530") .dbName("aaa") .build(); MilvusClientV2Pool pool = new MilvusClientV2Pool(poolConfig,...

For each pool, the max number of MilvusClient objects are defined by the PoolConfig.maxTotalPerKey. If all the client objects are used by getClient(), and the number of MilvusClient objects has...

Use these methods to observe the number of MilvusClient objects in each pool: ``` public int getIdleClientNumber(String key) public int getActiveClientNumber(String key) public int getTotalIdleClientNumber() public int getTotalActiveClientNumber() ``` An...

For multi-database usage, one ClientPool currently can only handle one database since there is only one pre-defined ConnectConfig. One pool for one database: ``` ConnectConfig connectConfig_A = ConnectConfig.builder() .uri("http://localhost:19530") .dbName("aaa")...