The bulk loader and the incremental loader call ATG system services to generate the XHTML representations of the data. After each XHTML document is generated, the loaders use a document submitter (created automatically) to submit the document content to ATG Search.

For debugging purposes, the atg.repository.search.indexing.submitter package includes ConsoleDocumentSubmitter and FileDocumentSubmitter classes that can direct the XHTML to the console or to files, rather than to ATG Search. These classes allow you to view the output without actually initiating an indexing job. To direct the output to the console:

To direct the XHTML output to files instead of the console, in Step 1 set the documentSubmitter property to a component of class FileDocumentSubmitter. This class creates a separate file for each XHTML document generated. The location and names of the files are automatically determined based on the following properties:

 
loading table of contents...