blob: 2b44f6badfc05bfd3e51c6a671c619b78ffc904f [file] [log] [blame]
reindex
=======
NAME
----
reindex - Rebuild the secondary index
SYNOPSIS
--------
[verse]
'java' -jar gerrit.war 'reindex' [<OPTIONS>]
DESCRIPTION
-----------
Rebuilds the secondary index.
OPTIONS
-------
--threads::
Number of threads to use for indexing.
--schema-version::
Schema version to reindex; default is most recent version.
--output::
Prefix for output; path for local disk index, or prefix for remote index.
--verbose::
Output debug information for each change.
--dry-run::
Dry run. Don't write anything to index.
CONTEXT
-------
The secondary index must be enabled. See
link:config-gerrit.html#index.type[index.type].
GERRIT
------
Part of link:index.html[Gerrit Code Review]