Performs a lexical search on a Milvus collection. The processor can query Milvus either by a list of IDs or by a filter. The IDs can be specified in a comma separated list in a specified attribute or in the content of the FlowFile. If the IDs are extracted from the content, the FlowFile should be in JSON format having an array of Milvus element objects. The JSON format is either the format of the output of the VectorQueryMilvus processor (list of lists) or a simple JSON list of Milvus objects. Each Milvus object is expected to have at least the primary key field specified.
milvus, vector, vectordb, vectorstore, query, ai, artificial intelligence, ml, machine learning, text, LLM
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
Display Name | API Name | Default Value | Description |
---|---|---|---|
Query Mode | Query Mode | ID | Specify to query the Milvus collection either by ID list or by a filter. |
ID Source | ID Source | Content | If the query mode is ID, the source of the IDs to query in Milvus. The source can be either an attribute containing the comma separated list of IDs specified in the ID Field Name property or the content of the FlowFile which should be in JSON format containing the list of Milvus elements. The JSON format is the same as the output of the VectorQueryMilvus processor. |
ID Attribute Name | ID Attribute Name | The name of the attribute containing the comma separated list of the IDs, in case the ID Source is Attribute. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | |
Filter | Filter | The query filter used for the collection in Milvus. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | |
Output Fields | Output Fields | A comma separated list of field names to include in each entity in return. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | |
Partition Names | Partition Names | A comma separated list of partition names to query in Milvus. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | |
Collection Name | Collection Name | Name of the collection to query in Milvus. Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables) | |
URI | URI | The URI of the Milvus instance. | |
User | User | A valid username used to connect to the specified Milvus instance. | |
Password | Password | A valid password used to connect to the specified Milvus instance. Sensitive Property: true | |
DB Name | DB Name | default | The name of the database to which the target Milvus instance belongs. |
Token | Token | A valid access token to access the specified Milvus instance. Sensitive Property: true |