I\'m nor very familiar with elastic-search and I use node.js wrapper for work with ellastic.
When I create index I use automatic mappings and use client.index(index
client.index(index