Coerce long to double not working

Hi Nik,
Can I email you the file in question?

I do not use curl, but the Python Elasticsearch library, and the complete code is like this:

from elasticsearch import Elasticsearch
es = Elasticsearch([{'host': '192.168.56.102', 'port': 9200}])
es.indices.create(index='abc', body='{settings:{ "index.mapping.coerce": true}}')
report = open("mydocument.json",'rb').read()
es.index(index='abc', doc_type="reports", body=report)

Benjamin