In the section „Filter Plugins“of the filter service configuration there are all filter plugins that can be selected for a file extension. The extensions are matched case-insensitive.
If these filter plugins need some customized configuration this should be done in „Global Filter Plugin Properties“ section of filter service configuration. In order to do this the filter plugin should be selected from the dropdown list and added to the filter service configuration and configured as needed.
The following field can be configured for several plugins.
Number of instances | Sets how many instances of the plugin should run in parallel. Default value: let the system decide. |
E-mails (documents with extension .msg or .eml) usually contain several contents. Examples of such contents are email attachments. The standard e-mail filter plug-ins (FilterPlugin.POIMsg and FilterPlugin.EML) extract e-mail attachments from e-mail documents. Depending on the extension, the attachments are then forwarded to other filters (e.g. PDF, DOCX...), which further extract the content.
The content of an e-mail can also exist in different formats (sometimes even side by side). Examples are plain text (TXT), HTML or rich text (RTF) and HTML formatted emails. If available, HTML is preferred and forwarded to the filter configured for HTML. Otherwise, RTF or TXT will be used as content.
The different parts of an e-mail (attachments, content) are also known as MIME parts. These MIME parts can have different character encodings within the same email, depending on the email application, operating system and location settings. The default e-mail filters (FilterPlugin.POIMsg and FilterPlugin.EML) normalise these character encodings to UTF-8. This behaviour can also be adjusted, if required.
The following fields can be configured for POIMsg Filter Plugin:
Field name | Descripton |
Keep Datasource Category Class | All msg files filtered by this plugin get the category class „mail“ per default even if the datasource defines another category class. To keep the category class of the datasource, select this check box. |
Prefer HTML Meta Tag Character Encoding | If enabled, the HTML content of emails will be parsed using the character encoding specified in the HTML meta tag. This means that the character encoding specified in the MIME part is not applied. Default setting: Disabled. |
The following fields can be configured for the InternalZip filter plugin:
Field name | Description | ||||||
Datasource Metadata Selection Strategy | The following options are available:
|
The following fields can be configured for the EML filter plugin:
Field name | Description |
Prefer HTML Meta Tag Character Encoding | If enabled, the HTML content of emails will be parsed using the character encoding specified in the HTML meta tag. This means that the character encoding specified in the MIME part is not applied. Default setting: Disabled. |
Keep MIME Part Character Encoding | If enabled, text and HTML content will not be normalised to UTF-8, but will remain in the original format. Default setting: Disabled. |
The FilterPlugin.MetadataOnly serves as a fallback filter if no other filter could filter the document and "Probing" is enabled. With this filter it is possible to index documents that cannot be indexed with other filters.
The FilterPlugin.MetadataOnly only passes documents to the index without filtering the content itself. This means that no content metadata or preview is created for the document. Metadata such as filename, date, author etc. is still passed to the index.
This filter can be used, for example, to index encrypted PDF files. Without this plugin (and without probing activated), encrypted PDF files will be discarded by the filter and not forwarded to the index, because the filter does not have access to the contents of the PDF. If this filter and “Probing” is enabled for the desired extension, the selected PDF filter will continue to filter unencrypted PDF files as usual. Encrypted PDF files are processed by the MetadataOnly-Filter instead and can be found in the search, but without content.
Per default this filter is enabled for all extensions which are per default enabled (e.g.: HTML, txt, pdf etc.) but will only process items if also probing is activated for the desired extensions. For all non-default-enabled extensions, the filter has to be enabled manually by selecting it.
The following fields can be configured for the MetadataOnly filter plugin:
Field name | Description |
Is enabled | Can be used to deactivate the Filter completely. Default setting: Enabled. |
The FilterPlugin.PDFPreviewFPDFFilter is used to extract metadata and contents from pdf documents. The contents are annotated with page annotations, suitable for features such as jumping to a specific page in the preview and grouping answers by page.
The following fields can be configured for the PDFPreviewFPDFFilter plugin:
Field name | Description |
If checked, disables the creation of a thumbnail for the document. Default setting: False (thumbnails are created). | |
Disable Preview Content | If checked, disables the generation of a full preview the PDF document from the search results. In this case, the preview only shows a summary of the contents. Default setting: False (full previews are available). |
Extract Links | If checked, the filter will extract the target of external links in PDF documents. If HTML entity recognition is active for HTML links (see <>), entities will also be extracted. Default setting: Disabled |
Max Layout Annotations Per Page | Maximum number of text boxes to extract as annotations, per page. Default value: 0 |
Thumbnail Width | Maximum width of the thumbnail (in points) Note: The aspect ratio of the page is preserved. Do not specify both a maximum height and a maximum width. Default value: 200 pt |
Thumbnail Height | Maximum height of the thumbnail (in points) Note: The aspect ratio of the page is preserved. Do not specify both a maximum height and a maximum width. Default value: 200 pt |
Extract pages as images | With this setting enabled, an image is generated for each page of the PDF document. The generated images of the pages can then be retrieved along with the answers from the similarity search. To retrieve the images, the Client Service setting “Enable Answer Images” must be enabled. The images are then returned in the api.v2.search response in answers[].text.pages[]. For more information, see api.v2.search Interface Description - answers.text.pages. Default value: Disabled |
Resolution (DPI) for the extracted page images | Defines the resolution of the generated images of the pages in dots per inch (dpi). Default value: 96 dpi |
PDF Meta Keys (in Addition to Defaults) | Additional PDF metadata to extract, separated by semicolons. Standard metadata (title, author, subject, keywords, creator, producer, creation date, modification date) are extracted by default, it is not necessary to add them. Default value: None |
Sizes are specified in points (1 point = 1/72 inch = approximately 0.3528mm).
The filter plugin “OfficeDocumentToPDFContentFilter” is used to prepare Microsoft Office documents for the PDF preview.
This filter plugin is deactivated by default or must be explicitly activated.
The filter plugin can be applied to the following file extensions:
Application | 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 |
The following settings are available:
Setting | Description | Example |
Custom Plugin Properties | ||
priority | Specifies the order in which the plugins are executed. The higher the specified number, the higher the priority and the earlier the plugin is executed. The use of this setting is recommended for use cases where the application of different plugins to different file formats is to be controlled in detail. | 1947 |
Setup | ||
Number of LibreOffice Instances | Defines the number of instances that are to be started. If not set, a default value is assumed, which is generally sufficient. | 3 |
Run as | ||
User name | This setting is no longer used. | - |
Password | This setting is no longer used. | - |
By default, the filter plugin “FilterPlugin.ApacheTikaWithThumbnails-Latest” is used for Microsoft Office documents. In order to pre-queue the filter plugin “FilterPlugin.OfficeDocumentToPDFContentFilter” and thereby generate a PDF preview, the priority of the FilterPlugin.OfficeDocumentToPDFContentFilter must be set to a value greater than 11100. This can be configured in the setting “priority”:
To activate the PDF preview for one or more specific file types, you can activate the filter plugin “FilterPlugin.OfficeDocumentToPDFContentFilter” for a specific file type in the filter settings (see file extension xlsx in the screenshot):
For example, you can select the filter plugin “FilterPlugin.OfficeDocumentToPDFContentFilter” for the .docx file extension with a single click:
The FilterPlugin.OfficeDocumentToTextAndImages is used to filter Office documents, convert them to PDF documents to be available for the PDF preview and generate images of every page in the converted PDF document.
The generated images of the pages can then be retrieved with the answers from the similarity search (if configured).
For more information, see
The filter plugin “FilterPlugin.Pandoc” is used to extract content from Microsoft Office documents.
This filter plugin is deactivated by default or must be explicitly activated.
The filter plugin can be applied to the following file extensions:
Application | File extension |
Microsoft Word, LibreOffice Writer or Google text and tables | odt |
Microsoft Windows Wordpad, Mac Textedit | rtf |
Microsoft Word | docx |
Microsoft PowerPoint | pptx |
Microsoft Excel | xlsx |
For the following file formats, the filter plugin produces page annotations, suitable for features such as the grouping of answers by page. This requires the configuration of the index setting “Property Expressions For Identifying Page Annotations”.
Equivalent HTML structure | Index setting “Property Expressions For Identifying Page Annotations” | |
Microsoft PowerPoint (pptx) | <h2 id="slide-123"> |
|
Microsoft Excel (xlsx) | <h2 id="sheet-123"> | regex_match(id, "sheet-\d+") |
The following fields can be configured:
Field | Description |
Pandoc Output Format | Defines the output format that Pandoc produces. The next content filter plugin in the content filter chain for the selected format (extension) is used for filtering the plugin. Example: For “HTML”, the filter plugin FilterPlugin.JerichoWithThumbnails is used by default. Default setting: HTML |
Document Conversion Timeout in Seconds | Defines a time limit in seconds within which Pandoc should process a document. This setting is only effective, if a value greater than 0 is specified. Otherwise, there is no time limit. Default setting: empty (no timeout) |
Enable Pandoc Section Divs | See Pandoc Documentation: --section-divs for more information. Default setting: Enabled |
Remove Element Grouping from PPTX Slides | If PPTX documents contain grouped elements, Pandoc is not able to process these elements and just ignores them. To filter grouped elements correctly, the PPTX file is pre-processed and such elements are ungrouped before the document is processed with Pandoc. Default setting: enabled |
The filter plugin “FilterPlugin.CommonMarkPlugin” is used to extract content from Markdown files. It implements the CommonMark specification of the Markdown language (https://commonmark.org/). In addition, it implements the Github Flavored Markdown extension for tables (https://github.github.com/gfm/#tables-extension-).
This filter plugin is activated by default for the following file extensions:
File extension | |
Markdown (CommonMark) |
|
The following fields can be configured:
Field | Description | ||||
Override Encoding | Encoding is detected automatically if this field is left empty. If you want to skip automatic encoding detection for all documents, you can override the encoding to a hardcoded value. Example: utf-8 Default setting: empty | ||||
Maximum Parsing Depth | Defines a maximum depth for parsing Markdown structures. Further markups are extracted as plain text. Default setting: 100 Attention: Increasing this value is a security risk. Please do not change this value without the consultation of the Mindbreeze Support. | ||||
Page Break Marker Pattern | If a Markdown file contains matches for this regular expression, the document is split into pages at those points. The pages are rendered as HTML annotations, as would be produced for a <div class="page"> marker. For example, with the configured value \Q<!-- PAGEBREAK -->\E and the following input: Page1 Output: The same content as would be produced from the HTML document: <div class="page">Page1</div> Those pages are not rendered, but they can be used for semantic search (for example, for grouping answers by pages). For that, the additional index settings are necessary:
Default setting: empty | ||||
Discarded Content Pattern | Defines a regular expression for identifying parts of the content to discard before parsing. This can be helpful, for instance, if Markdown files contain lines which would be incorrectly parsed as Markdown markups. Hint: The regular expression can match multiple lines or part of a line. Hint: The matches are discarded after the document is split along pages, and before the document is parsed for Markdown syntax.
Default setting: empty |
This plugin is deprecated and currently aliased to FilterPlugin.CommonMarkPlugin.