The FilterPlugin.OfficeDocumentToTextAndImages is used to filter Office documents, convert them to PDF documents to be available for the PDF preview and generates images for every page in the converted PDF document.
The generated page images can then be retrieved with the answers from the similarity search (if configured).
This is how the FilterPlugin.OfficeDocumentToTextAndImages plugin processes the documents:
For more details, see section “Configuration”.
The filter plugin can be applied to the following file extensions:
File extension | |
Microsoft Word, LibreOffice Writer or Google Text and Tables | odt |
LibreOffice Writer | sxw |
LibreOffice-Suite |
|
ArcScene | sxd |
Microsoft Windows Wordpad, Mac Textedit | rtf |
Microsoft Word |
|
Microsoft PowerPoint |
|
Microsoft Excel |
|
Microsoft Visio |
|
Steinberg Cubase, Imageline FL Studio and Audacity | vst |
This filter plugin is deactivated by default or must be explicitly activated.
To enable this plugin, go to the Configuration menu in the Management Center and open the Filter tab. Expand the settings of the filter service which should use the FilterPlugin.OfficeDocumentToTextAndImages. Scroll down to Content Filter Services and add the following plugins:
Set the priority of your Content Filter Plugins:

To be able to retrieve the page images from the similarity search (NLQA) along with the answer coming from this page, some additional configuration steps are required. For more information, please refer to Configuration - Filter Plugins and Documentation - Mindbreeze InSpire.
For example, if you want to extract the slide images in addition to answers from a Microsoft Powerpoint presentation, you need to configure the filter and index as follows:
HTML (default) |
regex_match(id, "sheet-\d+") Also see: Semantic Text Extraction |
|
To verify if the configuration is correct, open the developer tools in your browser and trigger a similarity search in your Insight App. The response should contain:
answers[].text.pages[].page.image
e.g. with value:
"ref_id": "tag:mindbreeze.com,2026:value-ref/key-to-your-file:2:mes:page_image_13
Also see api.v2.search Interface Description - answers.text.pages.
If the FilterPlugin.OfficeDocumentToTextAndImages is not for filtering your documents as intended, it is most likely the priority settings of your content filters are incorrect.
You can verify that in the app.telemetry Filter Service logpool. Select the filter request for the document you want to troubleshoot and open the Associated Requests. E.g. if you want the FilterPlugin.OfficeDocumentToTextAndImages to be used together with FilterPlugin.Pandoc for a PPTX documents, the Requests from Content Filter Service should look like in the screenshot below. The FilterPlugin.OfficeDocumentToTextAndImages should be the first content filter to be called, then the document is dispatched to the other content filters in the filter chain.
Another way to verify the effective Content Filter priorities is the plugin-mapping.txt file in the Filter Service logs (/data/logs/log-mesfilterservice-23400/current/plugin-mapping.txt), see example below.
GroupID: FilterPlugin.OfficeDocumentToTextAndImages Priority: 9223372036854775807
id: FilterPlugin.OfficeDocumentToTextAndImages extensionPoint: mindbreeze.filter.ContentFilterService priority: 20000 content_crc_calculation registered
GroupID: FilterPlugin.Pandoc Priority: 20001
id: FilterPlugin.Pandoc extensionPoint: mindbreeze.filter.ContentFilterService priority: 20001 registered
GroupID: FilterPlugin.ApacheTikaWithThumbnails-Latest Priority: 11100
id: FilterPlugin.ApacheTikaWithThumbnails-Latest extensionPoint: mindbreeze.filter.ContentFilterService priority: 11100 registered
GroupID: FilterPlugin.ApacheTika-Latest Priority: 10050
id: FilterPlugin.ApacheTika-Latest extensionPoint: mindbreeze.filter.ContentFilterService priority: 10050 registered
GroupID: FilterPlugin.OfficeDocumentToPDFContentFilter Priority: 10000
id: FilterPlugin.OfficeDocumentToPDFContentFilter_1 extensionPoint: mindbreeze.filter.ContentFilterService priority: 10000 content_crc_calculation registered
GroupID: FilterPlugin.MetadataOnly Priority: 50
id: FilterPlugin.MetadataOnly extensionPoint: mindbreeze.filter.ContentFilterService priority: 50 registered