Files
gerrit/javatests/com/google
Hamza Kaced 8d18e906ba Simplify Init for Elasticsearch
Perform reindex operation for all indexes on init for elasticsearch
index. This change allows for starting an elasticsearch index with only
the init command, similar to a Lucene index.

Remove reindex operation on ElasticReindexIT, since with this change
performing a reindex manually is no longer needed.

Test plan: Run InitIT, ElasticReindexIT and ReindexIT.

This change is Index type agnostic and affects both Lucene and
Elasticsearch. If any of these index types used by a Gerrit instance do
not "exist", they will be reindexed. However, it is mostly focused
towards Elasticsearch which usually requires a manual reindex before
initializing a Gerrit site.

Bug: Issue 12909
Feature: Issue 12704
Change-Id: If7741771e25a6063c5116ab2bce39fbe0e0ea93b
(cherry-picked from 00cc7a985e)
2020-06-11 16:51:54 -04:00
..
2020-06-11 16:51:54 -04:00