Repository tools command to regenerate indexes
Purpose
The reindex command is used against an offline server and affects all resources in the storage services. By default, the query triple store and the Lucene text store are regenerated, but the "scope" parameter can be used to rebuild either the query or the text indexes or both.Parameters
Attribute | Description | Required | Default |
---|---|---|---|
teamserver.properties | Path to the teamserver.properties file. | No | conf/application/teamserver.properties where application is jts, ccm, rm, or qm |
scope | The scope of re-indexing. Values are
|
No | all |
noPrompt | Do not prompt before re-indexing a cluster. | No | N/A |
baselines | A comma separated list of baselines URI, without spaces. Providing this argument will only reindex the provided baselines. | No | none |
all | Reindex both live and history indices. | No | N/A |
Example
The following example is for Jazz Team Server. To use this command for the Change and Configuration Management application run repotools-ccm, for the Requirements Management application run repotools-rm, and for the Quality Management application run repotools-qm from the server directory.
Open a command prompt and enter this command:
cd C:\Program Files\IBM\JazzTeamServer\server\ repotools-jts.bat -reindex teamserver.properties=conf\jts\teamserver.properties scope=all
Open a command line and enter this command:
cd opt/IBM/JazzTeamServer/server/ ./repotools-jts.sh -reindex teamserver.properties=conf/jts/teamserver.properties scope=all
- Variable name: REPOTOOLS_MX_SIZE
- Variable value: 2500M
When you run the Rational® Team Concert™ repotools -reindex all command and you have DB2® for IBM® i installed, you might experience a java.sql.SQLException: Limit on number of statements exceeded. The cause and resolution for the error are documented in the technote titled RTC Attempts to run repotools may result in java.sql.SQLException: Limit on number of statements exceeded.
Watch videos CLM playlistJazz.net channel User Education channel |
Learn more CLM learning circleAgile learning circle Learning circles |
Ask questions Jazz.net forumdeveloperWorks forums |
Get support Support PortalDeployment wiki Support blog |