Indexing concepts in Db2 Text Search service
IBM Db2 Text Search is configured as Db2 Text Search server on IBM Content Manager server. Any item type on the CM8 server can use the associated Db2 Text Search server to create and search indexes.
About this task
When indexing is invoked over an item type enabled with Db2 Text Search, Db2 Text Search Support pre-processes each Content Collector document other than file system documents in the following way:
- Creates an empty XML template for each document ID
- Retrieves the archived document from the repository and adds items such as the subject and body to the XML template
- Retrieves the document attribute values and adds these values to the XML template
- Attachment data is processed by the IBM Db2 Accessories Suite configured with the Db2 Text Search server and the extracted textual data is added to the XML template
- The generated XML content is indexed by Db2 Text Search Services. If warnings or errors occur during this process, these messages are attached to the indexed document.
- The Indexing Failure code (
IccIDXRCString
) for the document is updated to the Component Type table of the item type corresponding to each document processed.
- The generated XML content is added to the default File document generated by the content manager for ICMDCTOR constructor.
- This XML generated contains readable content only for the text documents being indexed.
- The Indexing Failure code (
IccIDXRCString
) for the document is updated to the Component Type table of the item type corresponding to each document processed.