elasticsearch - allow version 6+ type mapping
elasticsearch - allow version 6+ type mapping

Elasticsearch types were deprecated after version 5.

Here we check the configured client and adapt the
structure of (type) mapping to the new structure.

The configuration must contain its additional mapping
also in the new structure, i.e. without a type, when
using version 6+.

benchmarkanything/BenchmarkAnything-Storage-Backend-SQL