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.