Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 1 | = reindex |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 2 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 3 | == NAME |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 4 | reindex - Rebuild the secondary index |
| 5 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 6 | == SYNOPSIS |
Michael Ochmann | a843461 | 2016-07-08 10:58:27 +0200 | [diff] [blame] | 7 | [verse] |
Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 8 | -- |
Michael Ochmann | a843461 | 2016-07-08 10:58:27 +0200 | [diff] [blame] | 9 | _java_ -jar gerrit.war _reindex_ |
| 10 | [--threads] |
| 11 | [--changes-schema-version] |
| 12 | [--verbose] |
| 13 | [--list] |
| 14 | [--index] |
Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 15 | -- |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 16 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 17 | == DESCRIPTION |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 18 | Rebuilds the secondary index. |
| 19 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 20 | == OPTIONS |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 21 | --threads:: |
| 22 | Number of threads to use for indexing. |
| 23 | |
Michael Ochmann | a843461 | 2016-07-08 10:58:27 +0200 | [diff] [blame] | 24 | --changes-schema-version:: |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 25 | Schema version to reindex; default is most recent version. |
| 26 | |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 27 | --verbose:: |
| 28 | Output debug information for each change. |
| 29 | |
David Ostrovsky | bba1994 | 2016-03-20 12:00:40 +0100 | [diff] [blame] | 30 | --list:: |
| 31 | List available index names. |
| 32 | |
David Ostrovsky | ebbf814 | 2016-03-20 12:03:36 +0100 | [diff] [blame] | 33 | --index:: |
| 34 | Reindex only index with given name. This option can be supplied |
| 35 | more than once to reindex multiple indices. |
| 36 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 37 | == CONTEXT |
David Pursehouse | 6d45843 | 2013-08-23 16:17:18 +0900 | [diff] [blame] | 38 | The secondary index must be enabled. See |
| 39 | link:config-gerrit.html#index.type[index.type]. |
David Pursehouse | c34cf44 | 2013-08-23 12:32:07 +0900 | [diff] [blame] | 40 | |
| 41 | GERRIT |
| 42 | ------ |
| 43 | Part of link:index.html[Gerrit Code Review] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 44 | |
| 45 | SEARCHBOX |
| 46 | --------- |