milvus-io / milvus-lite

A lightweight version of Milvus
Apache License 2.0
240 stars 29 forks source link

Change the default behavior of milvus_client from connecting to localhost to using local files. #140

Open junjiejiangjjj opened 1 month ago

junjiejiangjjj commented 1 month ago

Change the default behavior of milvus_client from connecting to localhost to using local files.

from pymilvus import MilvusClient
# by default would create a file called `milvus.db`.
client = MilvusClient()