Provide a saner default for http client thread count The default for HttpAsyncClientBuilder is the number of available processors and the ES RestClientBuilder sets up a pool of 30 maximum connections. IO threads multiplex connections, so we don't need anything close to 1:1. Use a safe default of 1 IO thread for every 2 connections, but keep the number of processors as an upper bound. Change-Id: I0e4b2f604560fd0414c52d296d6c6a967e6587c9
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.
This libModule is built like a Gerrit in-tree plugin, using Bazelisk. See the build instructions for more details.
See the setup instructions for how to install the index-elasticsearch module.
For further information and supported options, refer to the config documentation.
This libModule runs tests like a Gerrit in-tree plugin, using Bazelisk. See the test instructions for more details.