LexicalQueryMilvus

Description:

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.

Tags:

milvus, vector, vectordb, vectorstore, query, ai, artificial intelligence, ml, machine learning, text, LLM

Properties:

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 NameAPI NameDefault ValueDescription
Query ModeQuery ModeIDSpecify to query the Milvus collection either by ID list or by a filter.
ID SourceID SourceContentIf 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 NameID Attribute NameThe 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)
FilterFilterThe query filter used for the collection in Milvus.
Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
Output FieldsOutput FieldsA 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 NamesPartition NamesA 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 NameCollection NameName of the collection to query in Milvus.
Supports Expression Language: true (will be evaluated using flow file attributes and Environment variables)
URIURIThe URI of the Milvus instance.
UserUserA valid username used to connect to the specified Milvus instance.
PasswordPasswordA valid password used to connect to the specified Milvus instance.
Sensitive Property: true
DB NameDB NamedefaultThe name of the database to which the target Milvus instance belongs.
TokenTokenA valid access token to access the specified Milvus instance.
Sensitive Property: true