Skip to main content

DeleteMilvus

Description​

Deletes vectors from Milvus database from a collection by ID. Unmatched IDs are ignored by Milvus and not deleted.

Tags​

Milvus, chatbot, delete, embeddings, gen ai, genai, generative ai, llm, metadata, text, vector

Properties​

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Milvus Connection Service *Milvus Connection ServiceController Service:
MilvusConnectionService

Implementations:
StandardMilvusConnectionService
Connection Service for accessing Milvus Database
Collection Name *Collection NameThe name of the Milvus collection name to use

Supports Expression Language, using FlowFile attributes and Environment variables.
Delete Strategy *Delete StrategyDelete by IDs
  • Delete using a filter
  • Delete by IDs
The strategy to use for deleting vectors in Milvus
Record Reader *Record ReaderController Service:
RecordReaderFactory

Implementations:
AvroReader
CEFReader
CSVReader
ExcelReader
GrokReader
JsonPathReader
JsonTreeReader
ReaderLookup
ScriptedReader
Syslog5424Reader
SyslogReader
WindowsEventLogReader
XMLReader
YamlTreeReader
The Record Reader to use for reading the FlowFile

This property is only considered if:
  • the property Delete Strategy has a value of DELETE_BY_IDS
ID Record Path *ID Record PathThe path to the ID field in the record

Supports Expression Language, using FlowFile attributes and Environment variables.

This property is only considered if:
  • the property Delete Strategy has a value of DELETE_BY_IDS
Delete Filter *Delete FilterThe filter to use in the delete request. Example: id like "prefix%"

Supports Expression Language, using FlowFile attributes and Environment variables.

This property is only considered if:
  • the property Delete Strategy has a value of DELETE_BY_FILTER
PartitionPartitionPartition of the vector database that you want to perform operations in. If the database has only one partition leave empty.

Dynamic Properties​

This component does not support dynamic properties.

Relationships​

NameDescription
failureFlowFiles that cannot be sent to Milvus, and for which a retry is not expected to be successful, are routed to this relationship
retryFlowFiles that fail to be sent to Milvus, but for which a retry may help, are routed to this relationship
successFlowFiles that are successfully sent to Milvus are routed to this relationship

Reads Attributes​

This processor does not read attributes.

Writes Attributes​

This processor does not write attributes.

State Management​

This component does not store state.

Restricted​

This component is not restricted.

Input Requirement​

This component requires an incoming relationship.

System Resource Considerations​

This component does not specify system resource considerations.

See Also​

UpsertMilvus