HomePhabricator

Add support for Elasticsearch 7

Authored by David Pursehouse <dpursehouse@collab.net> on Nov 30 2018, 8:05 AM.

Description

Add support for Elasticsearch 7

The integration for Elasticsearch 6 works with Elasticsearch 7 without
any adjustments (meaning all the tests pass), however all POSTs to the
_search URL result in a deprecation warning:

"The {index}/{type}/_search endpoint is deprecated, use {index}/_search instead"

Add handling of this in the query adapter so that the type is omitted
on _search requests for Elasticsearch 7.

Change-Id: Ib3796f5f41336b5c80c1186aa87809fd5d571fb8

Event Timeline

Marco Miller <marco.miller@ericsson.com> committed rGERRITDEPLOY3a5cc19c62bc: Add support for Elasticsearch 7 (authored by David Pursehouse <dpursehouse@collab.net>).Nov 30 2018, 9:08 PM