summaryrefslogtreecommitdiffstats
path: root/Documentation/pgm-reindex.txt
blob: 5392564df3222ab2d319baebb839abdf1862a8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
= reindex

== NAME
reindex - Rebuild the secondary index

== SYNOPSIS
[verse]
--
_java_ -jar gerrit.war _reindex_
  -d <SITE_PATH>
  [--threads]
  [--changes-schema-version]
  [--verbose]
  [--list]
  [--index]
--

== DESCRIPTION
Rebuilds the secondary index.

== OPTIONS
--threads::
	Number of threads to use for indexing. Default is
	link:config-gerrit.html#index.batchThreads[index.batchThreads]

--changes-schema-version::
	Schema version to reindex; default is most recent version.

--verbose::
	Output debug information for each change.

--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
---------