-reindex

Use this command to regenerate triple store queries and Lucene text store 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.

Tracking re-indexing progress

For the running servers, the re-indexing progress can be tracked by accessing https://{JazzServerURL}/jazz/indexing, where {JazzServerURL} is a single node URL that tracks a specific server.

Parameters

Attribute Description Required Default
teamserver.properties Path to the teamserver.properties file. Yes conf/jazz/teamserver.properties
scope The scope of re-indexing. Values are all, query, and search. Yes all
contextPath Repository context path. No /jazz
noPrompt Do not prompt before re-indexing a cluster. No
baseline A comma separated list of baselines URI, without spaces. No none

Example

repotools -reindex teamserver.properties=conf/jazz/teamserver.properties scope=all

Feedback