Files
gerrit/gerrit-elasticsearch
David Pursehouse 6f26d4a589 Elasticsearch: Fix support for V6 versions earlier than 6.7.*
Change I02fb4b445 added the include_type_name parameter on all requests
to Elasticsearch V6, but it turns out that the parameter is not
recognized on earlier V6 versions (e.g. 6.6.* and 6.5.*) and causes
index creation to fail with "bad request".

Fix the query adapter to only put the parameter on requests for version
6.7 and later minor ones.

Bug: Issue 10905
Change-Id: Ic35e38f1deb95905e70f547ca6fe6c3a99aba30d
2019-05-27 12:49:47 -04:00
..