commit | 343301843d21a6bbfef5407b7b66e17a1ff36405 | [log] [tgz] |
---|---|---|
author | Kaushik Lingarkar <kaushik.lingarkar@linaro.org> | Thu Jan 19 16:35:20 2023 -0800 |
committer | Kaushik Lingarkar <kaushik.lingarkar@linaro.org> | Thu Feb 16 22:31:29 2023 +0000 |
tree | 5af71e3d5f8980f496dbf687561af20bb0d275ee | |
parent | cae666ff113cc1f3edb5990a0647aa7bdf55aba2 [diff] |
Update 'exact' field mapping to avoid duplicate data As an example, the mapping for the exact field 'status' in 'changes' index is updated as below to avoid duplication. Without change: "status": { "type": "keyword", "fields": { "key": { "type": "keyword" } } } With change: "status": { "type": "keyword" } On a Gerrit instance with ~4M changes, this change brings down the size of changes index from ~25G to ~20G. Release-Notes: Size of indices is reduced. Re-index is required. Change-Id: I680eb01c7e8c96548ddb4b321f383916f165af28
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.