Milvus-lite

Latest version: v2.4.11

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.4.11

What's Changed
* Delete some third-party dependencies in https://github.com/milvus-io/milvus-lite/pull/222 https://github.com/milvus-io/milvus-lite/pull/226 https://github.com/milvus-io/milvus-lite/pull/236
* Support Android Presburger in https://github.com/milvus-io/milvus-lite/pull/229
* Support IVF_FLAT index by junjiejiangjjj in https://github.com/milvus-io/milvus-lite/pull/234
After creating the IVF_FLAT index, the index will be built when the data exceeds 10,000
example:
python
from pymilvus import MilvusClient, DataType

1. Set up a Milvus client
client = MilvusClient(
uri="./milvus_demo.db"
)

2. Create schema
2.1. Create schema
schema = MilvusClient.create_schema(
auto_id=False,
enable_dynamic_field=True,
)

2.2. Add fields to schema
schema.add_field(field_name="id", datatype=DataType.INT64, is_primary=True)
schema.add_field(field_name="vector", datatype=DataType.FLOAT_VECTOR, dim=5)

3. Create collection
client.create_collection(
collection_name="customized_setup",
schema=schema,
)
4.1. Set up the index parameters
index_params = MilvusClient.prepare_index_params()

4.2. Add an index on the vector field.
index_params.add_index(
field_name="vector",
metric_type="COSINE",
index_type="IVF_FLAT",
index_name="vector_index",
params={ "nlist": 128 }
)

4.3. Create an index file
client.create_index(
collection_name="customized_setup",
index_params=index_params
)

* Fix some bugs

New Contributors
* 982945902 made their first contribution in https://github.com/milvus-io/milvus-lite/pull/224

**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.10...v2.4.11

2.4.10

What's Changed
* Update README.md to fix typo and imporve migration tool description. by codingjaguar in https://github.com/milvus-io/milvus-lite/pull/206
* Fix JSONContainsExpr bugs by junjiejiangjjj in https://github.com/milvus-io/milvus-lite/pull/207


**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.9...v2.4.10

2.4.9

What's Changed

* Fix some bugs


**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.8...v2.4.9

2.4.8

What's Changed
* Supports hybrid_search
* Supports range_search
* Add migration tool can dump milvus-lite data into a json file, which can be imported into [milvus](https://github.com/milvus-io/milvus) and [Zilliz Cloud](https://zilliz.com/cloud)(the fully managed cloud service for Milvus).

The following example dumps all data from demo_collection collection that's stored in ./milvus_demo.db (Milvus Lite database file)
shell
milvus-lite dump -d ./milvus_demo.db -c demo_collection -p ./data_dir
./milvus_demo.db: milvus lite db file
demo_collection: collection that need to be dumped
./data_dir : dump file storage dir



**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.7...v2.4.8

2.4.8rc1

What's Changed
Support hybrid search

**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.7...v2.4.8_rc1

2.4.7

What's Changed
* parser fix boolean expr and empty expr string bug by Presburger in https://github.com/milvus-io/milvus-lite/pull/150
* Fix query filter empty bug by junjiejiangjjj in https://github.com/milvus-io/milvus-lite/pull/151
* Fix bug when collection name is sql key words by junjiejiangjjj in https://github.com/milvus-io/milvus-lite/pull/160
* Improve the stability of milvus-lite


**Full Changelog**: https://github.com/milvus-io/milvus-lite/compare/v2.4.6...v2.4.7

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.