ebbf81470a
Check the indices passed with --index option and issue error message, when invalid index names were passed, e.g.: $ reindex --site-path gerrit --index foo --index bar --index baz fatal: invalid index name(s): [bar, baz, foo] available indices are: [accounts, changes] Change-Id: Ifb60e632bd1ff3cbb364e389f045e9a0de5a23c8 Signed-off-by: Edwin Kempin <ekempin@google.com>
44 lines
763 B
Plaintext
44 lines
763 B
Plaintext
= reindex
|
|
|
|
== NAME
|
|
reindex - Rebuild the secondary index
|
|
|
|
== SYNOPSIS
|
|
--
|
|
'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.
|
|
|
|
--verbose::
|
|
Output debug information for each change.
|
|
|
|
--dry-run::
|
|
Dry run. Don't write anything to index.
|
|
|
|
--list::
|
|
List available index names.
|
|
|
|
--index::
|
|
Reindex only index with given name. This option can be supplied
|
|
more than once to reindex multiple indices.
|
|
|
|
== 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]
|
|
|
|
SEARCHBOX
|
|
---------
|