gerrit/Documentation/pgm-reindex.txt
David Pursehouse 6d458430ac Add documentation section for secondary index configuration
Add a new `index` section and document the `index.type` flag.

Add a link to the new section from the `reindex` program documentation.

Change-Id: I52fd25d07352276002898482e8e205de43cb08bc
2013-08-23 17:06:38 +09:00

42 lines
704 B
Plaintext

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]