commit | 617d3b51271ff267ebe2e9aea42131411e7b4e85 | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser.grainawi@linaro.org> | Wed Jun 29 23:03:14 2022 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Jun 29 23:03:14 2022 +0000 |
tree | 969508084e9b3aa2aaf82a0605a9b75eb6f0d332 | |
parent | 3e6de6fcb52ba8cf6820e694c0d0a4a10f1289d2 [diff] | |
parent | c0906aa25cb443c203974851c1d395914af26d5b [diff] |
Merge "Convert config document from Ascii doc to markdown" into stable-3.5
Indexing backend libModule for Gerrit Code Review based on ElasticSearch.
This module was original part of Gerrit core and then extracted into a separate component from v3.5.0-rc3 as part of Change-Id: Ib7b5167ce.
This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.
Install the index-elasticsearch.jar into the $GERRIT_SITE/lib
directory.
Add the index-elasticsearch module to $GERRIT_SITE/etc/gerrit.config
as follows:
[gerrit] installIndexModule = com.google.gerrit.elasticsearch.ElasticIndexModule
When installing the module on Gerrit replicas, use following example:
[gerrit] installIndexModule = com.google.gerrit.elasticsearch.ReplicaElasticIndexModule
For further information and supported options, refer to config documentation.
Gerrit acceptance tests allow the execution with an alternate implementation of the indexing backend using the GERRIT_INDEX_MODULE
environment variable.
bazel test --test_env=GERRIT_INDEX_MODULE=com.google.gerrit.elasticsearch.ElasticIndexModule //...