@michael_ting/node-red-milvus 1.0.0
Node-RED nodes to interact with Milvus database.
Node-RED Milvus Nodes
This package provides Node-RED nodes to interact with a Milvus database. The nodes allow you to perform various operations on Milvus collections, vectors, partitions, databases, and authentication.
Nodes
Milvus Config
This configuration node allows you to set up the connection to a Milvus database.
Vector Node
This node allows you to perform vector operations on a Milvus database collection.
Supported Methods
deletegetinsertquerysearchupsert
Collection Node
This node allows you to interact with a Milvus database collection.
Supported Methods
alterAliascreateAliascreateCollectiondescribeAliasdescribeCollectiondropAliasdropCollectiongetCollectionStatisticshasCollectionlistAliaseslistCollectionsrenameCollection
Database Node
This node allows you to manage Milvus databases.
Supported Methods
createDatabasedropDatabaselistDatabasesuseDatabase
Management Node
This node allows you to manage Milvus database collections and indexes.
Supported Methods
createIndexdescribeIndexdropIndexgetLoadStateloadCollectionreleaseCollection
Authentication Node
This node allows you to manage Milvus database authentication, including roles and users.
Supported Methods
createRolecreateUserdeleteUserdescribeRoledescribeUserdropRolegrantPrivilegegrantRolelistGrantslistRoleslistUsersrevokePrivilegerevokeRoleupdatePassword
Partitions Node
This node allows you to manage Milvus database partitions.
Supported Methods
createPartitiondropPartitiongetPartitionStatisticshasPartitionlistPartitionsloadPartitionsreleasePartitions
Installation
To install this package, run the following command in your Node-RED user directory (typically ~/.node-red):
npm install @michael_ting/node-red-milvus
Usage
- Drag the desired Milvus nodes from the palette into your flow.
- Configure the Milvus Config node with the connection details of your Milvus instance.
- Connect the nodes as needed and deploy your flow.
Example
Here is an example of how to use the Vector node to insert data into a Milvus collection:
- Drag a Vector node into your flow.
- Configure the Vector node with the collection name and method (insert).
- Connect an Inject node to the Vector node to provide the data to be inserted.
- Deploy the flow and trigger the Inject node to insert the data.
Milvus Node API Reference
For detailed information on the Milvus Node API, please refer to the Milvus Node API Reference.
License
This project is licensed under the MIT License.