Releases: milvus-io/milvus-lite
Releases · milvus-io/milvus-lite
Release 2.4.11
What's Changed
- Delete some third-party dependencies in #222 #226 #236
- Support Android @Presburger in #229
- Support IVF_FLAT index by @junjiejiangjjj in #234
After creating the IVF_FLAT index, the index will be built when the data exceeds 100,000
example:
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 #224
Full Changelog: v2.4.10...v2.4.11
Release 2.4.10
What's Changed
- Update README.md to fix typo and imporve migration tool description. by @codingjaguar in #206
- Fix JSONContainsExpr bugs by @junjiejiangjjj in #207
Full Changelog: v2.4.9...v2.4.10
v2.4.9
Release 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 and Zilliz 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)
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: v2.4.7...v2.4.8
Release 2.4.8_rc1
Release 2.4.7
What's Changed
- parser fix boolean expr and empty expr string bug by @Presburger in #150
- Fix query filter empty bug by @junjiejiangjjj in #151
- Fix bug when collection name is sql key words by @junjiejiangjjj in #160
- Improve the stability of milvus-lite
Full Changelog: v2.4.6...v2.4.7
Release 2.4.6
Release 2.4.5
Release v2.4.4
What's Changed
- Resolved the issue of not being able to run on some macOS versions.
- Fix some bugs by @junjiejiangjjj in #121 #124
- Update examples by @junjiejiangjjj in #122
Full Changelog: v2.4.3...v2.4.4
Release v2.4.3
What's Changed
- Support Macos x86 by @junjiejiangjjj in #113
- Upsert api @junjiejiangjjj in #117
- Fix some bugs
Full Changelog: v2.4.2...v2.4.3