Show TOC Entering content frame

Procedure documentation Excluding File Formats from Processing Locate the document in its SAP Library structure

Use

You can use a list of MIME types in the configuration file TREXValidMimeTypes.ini to control which file formats are to be processed by TREX. MIME types for graphic formats such as image/jpeg, image/gif, and image/bmp are not listed in the configuration file although these formats are supported by the filter software integrated into TREX (see Supported File Formats). This exclusion prevents TREX from being unnecessarily burdened by the processing of these formats, since it is not normally sensible to index images and graphics. There may be other scenarios where it makes sense to exclude certain file formats.

Example

A company archives its financial statements in the form of PDF files. These files contain mostly figures, with hardly any relevant text information. The processing of these large files would unnecessarily hamper the performance of TREX but not simplify the indexing of the content. It therefore makes sense to exclude these files from processing.

Procedure

You exclude the document content of a particular file format from being processed by TREX by removing the corresponding MIME types from the configuration file TREXValidMimeTypes.ini. Proceed as follows to do this.

...

       1.      Stop TREX.

       2.      Open the configuration file <TREX_installation_directory>\TREXValidMimeTypes.ini with a text editor.

The configuration file TREXValidMimeTypes.ini is located in the TREX installation directory. The path to the directory is:

¡        On UNIX: /usr/sap/trex_<instance_number>

¡        On Windows: <disk_drive>:\usr\sap\trex_<instance_number>

       3.      Remove the entry for the file format that you want to exclude from the list.

Example

You do not want TREX to process PDF files because such files contain no relevant text information for your scenario. You remove the entry application/pdf from the list of MIME types in the configuration file TREXValidMimeTypes.ini.

       4.      Save the file.

       5.      Start TREX.

 

List of MIME Types in the Configuration File TREXValidMimeTypes.ini

 

 

Leaving content frame