Understanding the various repotools indexing commands
Authors: RosaNaranjo, GlennBardwellBuild basis: Rational Collaborative Lifecycle Management solution
The question often comes up "When should I use one repotools indexing command versus another?" Repotools includes the following command line options for indexing, -reindex all,-synchronizeJFSIndexes, -reindex scope=all, -reindex scope=query, -reindex scope=search, -rebuildTextIndices and -rebuildIndices.
Don't use repotools -reindex scope=all. Instead use repotools -reindex all.
Use repotools -rebuildTextIndices when you have the following symptoms:
You run a quick search (the edit box in the lower left hand side of the thick client, or upper right side of the web client)
for a workitem or planning item and there's an error in the ccm.log or qm.log and the RTC or QM doesn't return the expected workitem or other artifact.
You run a full text search for a workitem or planning item and RTC (CCM) gives and error and doesn't return what is expected.
Recall that full text is an option in available in RTC. To use it you create a query in a project, and select the Full Text condition.
There should be ane error in the ccm.log with a message like CRJAZ8201E, or something similar.
The qm and ccm application use full text search. Use repotools-ccm.bat or repotools-qm-bat depending on what is corrupt.
Use repotools -reindex search when you have the following symptoms -reindex all) . The tool makes this suggestion.
The -compactdb option changes the representation of the indices on disk, but doesn't affect their underlying value. Data is sometimes stored in journals, lists of commands to apply to the index data, as opposed to the actual data that makes up the index. If the journal contains a list of commands that was committed, it can be played back up to the commit point. This reduces the total index size.
- You run a quick search (the edit box in the lower left hand side of the eclipse RTC client, or upper right side of the web client) for a requirement, and you don't get the result you expected.
- When you run a query against dashboards or DNG, and you don't get what you expected and there is an error in the jts.log or rm.log indicating the index is corrupt. If you see problems reported on the diagnostics page referring to the JFS index and JFS storage, look at the jts.log for signs that the index is corrupt.
- Use this procedure. Restore the most recent indices that pass repotools verifyJFSIndexes. Then run repotools -synchronizeJFSIndexes to catch the indices up with the underlying database.
Related topics: Administering home,Part 1: Query, search and Indexing technologies in CLM,Indices storage and management: Backup, recovery and recreation
External links:
Additional contributors:
Contributions are governed by our Terms of Use. Please read the following disclaimer.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.