Merge from stable-3.8 and fix for 3.9

Merge stable-3.8:
7fa3f06e86 Index.replace: Log responses containing errors
9fa64809c8 Remove warning stating that Elasticsearch is not production ready
8c54bd177a Failfast when elasticsearch module has paginationType set to NONE
c746f31de8 Fix documentation for building elasticsearch module
beda74a674 Remove double brace initialization
e4fa395396 Add trace timer around Elasticsearch's performRequest
47ef2fa0a9 Fix Flogger issues flagged by error prone
7e83929b0e Fix incorrect symlink in build docs
48626d9791 Fix Flogger compile time errors

The fix accounts for Change I49487989 which added support for an empty
query to list all projects.

Release-Notes: skip
Change-Id: I02bc6c5315056a324d964afa4da75609a4ec012b
1 file changed
tree: f946ae780ea3802a95d2867ad3689cc893e25f18
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

Index backend for Gerrit, based on ElasticSearch

Indexing backend libModule for Gerrit Code Review based on ElasticSearch.

This module was originally part of Gerrit core and then extracted into a separate component from v3.5.0-rc3 as part of Change-Id: Ib7b5167ce.

Note that, ElasticSearch source code is no longer Apache 2.0-licensed for versions 7.11 and newer. See ElasticSearch 2021 license change for more information.

How to build

This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.

Setup

See the setup instructions for how to install the index-elasticsearch module.

For further information and supported options, refer to the config documentation.

Integration test

This libModule runs tests like a Gerrit in-tree plugin, using Bazelisk. See the test instructions for more details.