When initializing the site with elasticsearch secondary index, the
elasticsearch prefix should be under a section named "elasticsearch",
and the server-specific configuration should be under a subsection
of "elasticsearch" with the server name as subsection name:
[index]
type = ELASTICSEARCH
[elasticsearch]
prefix = gerrit
[elasticsearch "default"]
protocol = http
hostname = localhost
port = 9200
rather than all under the "index" section:
[index]
type = ELASTICSEARCH
protocol = http
hostname = localhost
port = 9200
name = local
Bug: Issue 8523
Change-Id: I544769f25876735249404eb1c7eabece31ab3660