Hi there,
I have some problem when i want to index (by Kibana console) nested object.
I got this error :
[ "type": "illegal_argument_exception",
"reason": "object mapping [transcription] can't be changed from nested to non-nested" ]
{
   "mappings":{
      "properties":{
         "meta":{
            "properties":{
               "ID_FICHIER":{
                  "type":"keyword"
               },
               "DATE_APPEL":{
                  "type":"date",
                  "format":"yyyy-MM-dd HH:mm:ss"
               },
               "SITE":{
                  "type":"keyword"
               },
               "ID_AGENT":{
                  "type":"keyword"
               }
            }
         },
         "transcription":{
            "type":"nested",
            "properties":{
               "confidence":{
                  "type":"text"
               },
               "word":{
                  "type":"text"
               }
            }
         }
      }
   }
}
And there is my document
{
   "meta":{
      "ID_FICHIER":127740,
      "DATE_APPEL":"2018-10-15 15:17:42",
      "SITE":"Rabat",
      "ID_AGENT":2053265
   },
   "transcription":[
      {
         "confidence":0.985514,
         "word":"bonjour"
      },
      {
         "confidence":0.633511,
         "word":"allo"
      },
      {
         "confidence":0.533511,
         "word":"monsieur"
      },
      {
         "confidence":0.767069,
         "word":"oui"
      },
      {
         "confidence":0.901756,
         "word":"total"
      }
   ]
}