Setting XML elements as non-searchable

To minimize the files sizes of indexes, define XML elements as surplus to prevent the indexing of those elements. An element that is not indexed cannot be found by a search. Consequently, define an XML element as surplus only if you are not interested in searching for that element.

The process of identifying surplus XML elements within an XML document for the purpose of not indexing those elements is called XML filtering. To configure XML filtering, add XML filter constructors to the constructors.xml file. Each XML filter constructor associates a set of surplus XML elements with a set of Content Engine classes. To avoid potentially inconsistent search results, define the same XML filter constructors for each IBM® Content Search Services server.

For an XML document to be filtered, the document must be the sole content element for a Content Engine object.

Configuring XML filtering for a server
Configure XML filtering for a new server or reconfigure XML filtering for all servers as needed.
Constructor configuration file: XML filtering constructor reference
The constructors.xml file contains the XML filter constructors that associate your surplus XML elements with Content Engine classes.