@michael_ting/node-red-milvus
v1.0.0
Published
Node-RED nodes to interact with Milvus database.
Downloads
10
Maintainers
Readme
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
delete
get
insert
query
search
upsert
Collection Node
This node allows you to interact with a Milvus database collection.
Supported Methods
alterAlias
createAlias
createCollection
describeAlias
describeCollection
dropAlias
dropCollection
getCollectionStatistics
hasCollection
listAliases
listCollections
renameCollection
Database Node
This node allows you to manage Milvus databases.
Supported Methods
createDatabase
dropDatabase
listDatabases
useDatabase
Management Node
This node allows you to manage Milvus database collections and indexes.
Supported Methods
createIndex
describeIndex
dropIndex
getLoadState
loadCollection
releaseCollection
Authentication Node
This node allows you to manage Milvus database authentication, including roles and users.
Supported Methods
createRole
createUser
deleteUser
describeRole
describeUser
dropRole
grantPrivilege
grantRole
listGrants
listRoles
listUsers
revokePrivilege
revokeRole
updatePassword
Partitions Node
This node allows you to manage Milvus database partitions.
Supported Methods
createPartition
dropPartition
getPartitionStatistics
hasPartition
listPartitions
loadPartitions
releasePartitions
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.