Indexing existing records for the first time

If you have an existing user database that you are upgrading to use the ClearQuest full-text search feature, index the records before enabling this feature.

About this task

Perform the steps described next to index the user database records in batch mode.

Procedure

  1. Run the record extractor from the command line in batch mode (cqperl cqtsdbcrawler.pl -batch). See the cqtsdbcrawler.pl reference help for details.
  2. If problem records are encountered when you run the record extractor in batch mode, a repair file is created in the same directory as the ClearQuest search properties file, CQ-db_name-dbset_name.xml, for each set of problem records that are processed by this instance of the batch-mode record extractor. After the batch mode record extractor completes, run the record extractor in repair mode (cqperl cqtsdbcrawler.pl -repair) by using the repair files as input. See the cqtsdbcrawler.pl reference help for usage information.
    Attention: If you stop the batch-mode record extractor before it completes, you can restart it to resume processing from where you left off. You can also re-index records that you previously indexed by deleting the file batch_recovery.properties, which is located in the same directory as the ClearQuest search properties file.

Feedback