The universal filter is controlled with a style file called
style.uni
. This style file tells the universal filter which helper filters to load in what order for every possible document type.style.uni
file that can filter Microsoft Word documents, PDF documents, and e-mail documents:
- $control: 1
- types:
- {
- autorec: "flt_rec"
- autorec: "flt_kv -recognize"
- type: "application/msword"
- /format-filter = flt_kv
- /charset = guess
- /def-charset = 1252
- type: "application/pdf"
- /format-filter = "flt_pdf -charmapto 1252"
- /charset = guess
- /def-charset = 1252
- # this is the MIME Content Type for email messages
- type: "message/rfc822"
- /charset = guess
- /def-charset = 1252
- /content-filter = "zone -email -nocharmap"
- # if we get anything else, just skip it.
- default:
- /action = skip
- }
- $$
style.uni
file is described in the next section.
style.uni
file syntax for statements is provided below.
style.uni
file syntax for keywords is provided below.
style.uni
file, the type
and default
keywords can include one or more of the modifiers described in the following table.
style.uni
file. To disable the use of a KeyView filter for the mime type entry, place a pound sign (#) at the beginning of each line in the entry as shown below:
- # type: "application/x-lotus-amipro"
- # /format-filter = flt_kv
- # /charset = guess
- # /def-charset = 1252
style.uni
file, you must re-index an existing collection to update it later. NOTE: If you change the
style.uni
file at all after you have created a collection, you run the risk of changing the way a document is filtered. The main consequence is that your highlights may become considerably inaccurate. If you must change the style.uni
file, you should use dynamic highlighting from that point onward to guarantee more accurate highlights.