How to solve this "Content type detection for rest requests is deprecated" issue of elastisearch?
For those using curl, a simple addition of
-H 'Content-Type: application/json'
Made the trick for me
Updating my clients, in my case elasticsearch-model and elasticsearch-rails resolved the issue for me.