title: Elasticsearch create a mapping for nested array
body: <p>i have  to create indexing using elasticsearch and python for the json data which need to be indexed example i have an nested array array [[39.909971141540645, 1452077285.150548, 1452077286.196072, 1.0455241203308105]] i need to define an mapping for this array like first field is count , second field is start_time, end_time, duration . please help how to declare mapping for nested array.</p>
  
  <p>i have declared mapping using python  and elasticsearch module</p>
  
  <pre><code>index_mapping={
   "properties": {
  "speed_events":{
  "type":"object",
  "properties":{
  "count":{"type":"double"},
  "start_time":{"type":"date"},
   "end_time":{"type":"date"},
  "duration":{"type":"double"}
  }}}
  es.indices.put_mapping(index=index_name, doc_type=type_name,      body=index_mapping)
  </code></pre>
  
  <p>its throwing error object mapping for [speed_events] tried to parse field [null] as object, but found a concrete value')
  need help to fix this</p>