diff options
Diffstat (limited to 'Documentation/config-gerrit.txt')
-rw-r--r-- | Documentation/config-gerrit.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/config-gerrit.txt b/Documentation/config-gerrit.txt index 3594626906..6d98877225 100644 --- a/Documentation/config-gerrit.txt +++ b/Documentation/config-gerrit.txt @@ -2748,7 +2748,7 @@ by the JVM. If set to a negative value, defaults to a direct executor. [[index.batchThreads]]index.batchThreads:: + Number of threads to use for indexing in background operations, such as -online schema upgrades, and also for offline reindexing. +online schema upgrades, and also the default for offline reindexing. + If not set or set to a zero, defaults to the number of logical CPUs as returned by the JVM. If set to a negative value, defaults to a direct executor. @@ -2964,6 +2964,11 @@ Lucene documentation] for further details. + Defaults to true (throttling enabled). +During offline reindexing, setting ramBufferSize greater than the size +of index (size of specific index folder under <site_dir>/index) and +maxBufferedDocs as -1 avoids unnecessary flushes and triggers only a +single flush at the end of the process. + Sample Lucene index configuration: ---- [index] |