Merge branch 'stable-2.9'
* stable-2.9: Fix typo in 'clone with commit-msg hook' command Add documentation of the index.threads setting Reformat index documentation Change-Id: Ic8ac6bfce05424287f49f1bde1bca92c7111fd01
This commit is contained in:
@@ -1878,6 +1878,13 @@ bundled with the .war will be used instead.
|
|||||||
|
|
||||||
The index section configures the secondary index.
|
The index section configures the secondary index.
|
||||||
|
|
||||||
|
Note that after enabling the secondary index, the index must be built
|
||||||
|
using the link:pgm-reindex.html[reindex program] before restarting the
|
||||||
|
Gerrit server.
|
||||||
|
|
||||||
|
Open and closed changes are indexed in separate indexes named
|
||||||
|
'changes_open' and 'changes_closed' respectively.
|
||||||
|
|
||||||
[[index.type]]index.type::
|
[[index.type]]index.type::
|
||||||
+
|
+
|
||||||
Type of secondary indexing employed by Gerrit. The supported
|
Type of secondary indexing employed by Gerrit. The supported
|
||||||
@@ -1894,13 +1901,12 @@ SolrCloud] index is used.
|
|||||||
|
|
||||||
+
|
+
|
||||||
By default, `LUCENE`.
|
By default, `LUCENE`.
|
||||||
+
|
|
||||||
After changing the secondary index type, the index must be rebuilt
|
|
||||||
using the link:pgm-reindex.html[reindex program] before restarting the
|
|
||||||
Gerrit server.
|
|
||||||
|
|
||||||
Open and closed changes are indexed in separate indexes named
|
[[index.threads]]index.threads::
|
||||||
'changes_open' and 'changes_closed' respectively.
|
+
|
||||||
|
Determines the number of threads to use for indexing.
|
||||||
|
+
|
||||||
|
Defaults to 1 if not set, or set to a negative value.
|
||||||
|
|
||||||
[[index.url]]index.url::
|
[[index.url]]index.url::
|
||||||
+
|
+
|
||||||
|
@@ -121,7 +121,7 @@ public abstract class DownloadCommandLink extends Anchor implements ClickHandler
|
|||||||
private final Project.NameKey project;
|
private final Project.NameKey project;
|
||||||
|
|
||||||
public CloneWithCommitMsgHookCommandLink(Project.NameKey project) {
|
public CloneWithCommitMsgHookCommandLink(Project.NameKey project) {
|
||||||
super(DownloadCommand.CHECKOUT, "clone with commmit-msg hook");
|
super(DownloadCommand.CHECKOUT, "clone with commit-msg hook");
|
||||||
this.project = project;
|
this.project = project;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user