Merge branch 'stable-3.10'

* stable-3.10:
  ElasticContainer: remove unused private constant
  ElasticContainer: suppress unclosed resource warning
  Replace use of deprecated Changes#id(int) method
  Suppress unused parameter warning
  AbstractElasticIndex: remove redundant type arguments
  Replace deprecated JsonParser constructor and parse method
  Update testcontainers to latest release 1.20.2
  Fix version check regexes and allow any 7.x and 8.x versions

Change-Id: I68a8afd371eb6d6df41d5bb5a586d511e477c059
tree: ce86debbb5ab58d7b615e7af5e71a3538dea8d1d
  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.