@michael_ting/node-red-milvus 1.0.0

Node-RED nodes to interact with Milvus database.

npm install @michael_ting/node-red-milvus

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

  1. Drag the desired Milvus nodes from the palette into your flow.
  2. Configure the Milvus Config node with the connection details of your Milvus instance.
  3. 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:

  1. Drag a Vector node into your flow.
  2. Configure the Vector node with the collection name and method (insert).
  3. Connect an Inject node to the Vector node to provide the data to be inserted.
  4. 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.

Node Info

Version: 1.0.0
Updated 8 months, 2 weeks ago
License: MIT
Rating: not yet rated

Categories

Actions

Rate:

Downloads

3 in the last week

Nodes

  • vector
  • collection
  • database
  • management
  • authentication
  • partitions
  • milvus-config

Keywords

  • node-red
  • milvus
  • vector
  • database
  • collection
  • management
  • authentication
  • partitions

Maintainers