blob: e13d518fc0234c8fb35ea0ad2d4607dec27f6dce [file] [log] [blame]
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08001= reindex
David Pursehousec34cf442013-08-23 12:32:07 +09002
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08003== NAME
David Pursehousec34cf442013-08-23 12:32:07 +09004reindex - Rebuild the secondary index
5
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08006== SYNOPSIS
Michael Ochmanna8434612016-07-08 10:58:27 +02007[verse]
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -08008--
Michael Ochmanna8434612016-07-08 10:58:27 +02009_java_ -jar gerrit.war _reindex_
10 [--threads]
11 [--changes-schema-version]
12 [--verbose]
13 [--list]
14 [--index]
Yuxuan 'fishy' Wangd85b6872013-11-15 11:47:46 -080015--
David Pursehousec34cf442013-08-23 12:32:07 +090016
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080017== DESCRIPTION
David Pursehousec34cf442013-08-23 12:32:07 +090018Rebuilds the secondary index.
19
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080020== OPTIONS
David Pursehousec34cf442013-08-23 12:32:07 +090021--threads::
22 Number of threads to use for indexing.
23
Michael Ochmanna8434612016-07-08 10:58:27 +020024--changes-schema-version::
David Pursehousec34cf442013-08-23 12:32:07 +090025 Schema version to reindex; default is most recent version.
26
David Pursehousec34cf442013-08-23 12:32:07 +090027--verbose::
28 Output debug information for each change.
29
David Ostrovskybba19942016-03-20 12:00:40 +010030--list::
31 List available index names.
32
David Ostrovskyebbf8142016-03-20 12:03:36 +010033--index::
34 Reindex only index with given name. This option can be supplied
35 more than once to reindex multiple indices.
36
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080037== CONTEXT
David Pursehouse6d458432013-08-23 16:17:18 +090038The secondary index must be enabled. See
39link:config-gerrit.html#index.type[index.type].
David Pursehousec34cf442013-08-23 12:32:07 +090040
41GERRIT
42------
43Part of link:index.html[Gerrit Code Review]
Yuxuan 'fishy' Wang99cb68d2013-10-31 17:26:00 -070044
45SEARCHBOX
46---------