NiFi Ingest 26.1
NiFi Ingest

# KeyViewFilterDocument

A processor that uses File Content Extraction to filter metadata and text from files.

The processor reads any files embedded in the FlowFile or referenced by the FlowFile, and passes these to File Content Extraction. The metadata that is extracted by File Content Extraction is added to the FlowFile as XML metadata. The text that is extracted by File Content Extraction is appended to the content parts of the FlowFile.

## Properties

Name | Default Value | Description
--- | --- | ---
KeyView Filter Service |  | A KeyViewFilterServiceImpl that manages the location of the File Content Extraction binaries and temporary file storage.
IDOL License Service |  | An IdolLicenseServiceImpl that provides a way to communicate with a Knowledge Discovery License Server.
Extract content text | True | Specifies whether to filter text from the main content of a file and add it to the document content.
Extract file metadata | True | Specifies whether to filter metadata from a file and add it to the document metadata.
Filter Metadata XPath |  | An XPath expression that matches fields in the document metadata, that you want to filter. The processor performs additional processing to extract plain text. The resulting value is written to the location specified by the "Filtered Metadata Target" property. This property is useful when a field contains text with RTF formatting.
Filter HTML Metadata XPath |  | An XPath expression that matches fields in the document metadata, that you want to filter. The processor removes HTML markup and keeps only the text. The resulting value is written to the location specified by the "Filtered Metadata Target" property. This property is useful when data repositories (such as Microsoft SharePoint) return metadata fields that contain HTML, but you do not want to index HTML.
Filtered Metadata Target | original_field | Specifies where to write text that was filtered from metadata fields specified by "Filter Metadata XPath" and "Filter HTML Metadata XPath". You can overwrite the original field or add the filtered text to the document content.

## Relationships

Name | Description
--- | ---
success | Successfully processed FlowFiles are routed to this relationship (regardless of whether content or metadata is extracted).
failure | FlowFiles with an invalid or unknown format.

Copyright 2018-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery NiFi Ingest 26.1

Topic Title: KeyViewFilterDocument