Style Files
139
Style Files
The following style files are required to enable indexing of XML files. Default style
files are installed into in the
cfusion\verity\common\style
directory (Windows)
and
opt/coldfusion/verity/common/style
directory (Linux and UNIX).
Configuring style files
This section discusses style file configuration used to support XML document
filtering.
style.uni file
To index XML documents, the
style.uni
must include the following lines:
type: "text/xml"
/format-filter = "flt_xml"
/charset= guess
/def-charset = 8859
Configuring the style.xml file
By default, the XML filter indexes regions of the document delimited by XML tags as
zones, with the zones given the same name as the XML tag. META tags are
automatically indexed as fields unless they are in a suppressed region.
To modify the default behavior, you create a style file named
style.xml
. You can
specify field and zone indexing for regions of the document delimited by XML tags
and skip regions of the document delimited by XML tags.
<?xml version="1.0" encoding="ISO-8859-1"?>
<?note: this is a sample comment line?>
<style.xml version="2.6.0">
<?note:
? this following line dictates all xmltags be ignored
? <ignore xmltag="*" />
?>
<?note:
Style File
Description
style.uni
Invokes the XML filter for indexing XML documents.
style.xml
Modifies the default behavior of the XML filter. (optional)
style.ufl
Defines custom fields in XML documents. The fields must also be
defined in the
style.xml
file.
style.dft
Invokes the Verity universal filter by default so all document types
can be indexed into one collection. You can modify the
style.dft
file to invoke the XML filter instead of the universal filter, as
described below.
Summary of Contents for COLDFUSION 5-ADVANCED ADMINISTRATION
Page 1: ...Macromedia Incorporated Advanced ColdFusion Administration ColdFusion 5...
Page 20: ......
Page 56: ...38 Chapter 1 Advanced Data Source Management...
Page 74: ...56 Chapter 2 Administrator Tools...
Page 76: ......
Page 86: ...68 Chapter 3 ColdFusion Security...
Page 87: ...To Learn More About Security 69...
Page 88: ...70 Chapter 3 ColdFusion Security...
Page 130: ...112 Chapter 5 Configuring Advanced Security...
Page 132: ......
Page 154: ...136 Chapter 6 Configuring Verity K2 Server...
Page 162: ...144 Chapter 7 Indexing XML Documents...
Page 202: ...184 Chapter 8 Verity Spider...
Page 236: ...218 Chapter 10 Verity Troubleshooting Utilities...
Page 238: ......
Page 348: ...330 Chapter 14 ClusterCATS Utilities...
Page 349: ...Using sniff 331...
Page 350: ...332 Chapter 14 ClusterCATS Utilities...
Page 362: ...344 Chapter 15 Optimizing ClusterCATS...
Page 372: ...354 Index...