Skip to content
This repository has been archived by the owner on Sep 1, 2021. It is now read-only.

PyMilvus-ORM v2.0.0rc1 Release

Compare
Choose a tag to compare
@XuanYang-cn XuanYang-cn released this 28 Jun 11:04
· 51 commits to main since this release
875b8ba

Object-Relational Mapping (ORM) is a technique that lets you query and manipulate data from a database using an object-oriented paradigm.

PyMilvus-ORM is an ORM implementation, which encapsulates Milvus' official low-level SDK (PyMilvus). The new APIs operate directly on collections, partitions, and indexes, helping users focus on the building of an effective data model rather than the detailed implementation.

PyMilvus-ORM works with Milvus 2.0 only, supporting the following features:

  • Hybrid Search between scalar and vector data

    Milvus 2.0 supports storing scalar data. Operators such as GREATER, LESS, EQUAL, NOT, IN, AND, and OR can be used to filter scalar data before a vector search is conducted. Current supported data types include bool, int8, int16, int32, int64, float, and double. Support for string/VARBINARY data will be offered in a later version.

  • Match query

    Unlike the search operation, which returns similar results, the match query operation returns exact matches. Match query can be used to retrieve vectors by ID or by condition.