Closed gaetancollaud closed 6 years ago
There is more to it. Multiple mapping type are now removed: https://www.elastic.co/guide/en/elasticsearch/reference/6.0/breaking-changes-6.0.html
This PR only fix the content-type issue
I will make a new PR with everything
Add application/json to request to support ElasticSearch 6.
See https://www.elastic.co/blog/strict-content-type-checking-for-elasticsearch-rest-requests for more details.