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.
To index the user database records in batch mode, perform the following
steps:
- Run the record extractor from the command line in batch mode (cqperl
cqtsdbcrawler.pl -batch). See the cqtsdbcrawler.pl reference
help for details.
- 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.