NEsted nad raw fields


#1

Hello,

Every time that I try to create a index that contain a nested raw field give the next error:
Mapping definition for [diagnostico] has unsupported parameters: [fields : {raw={type=keyword}}]"

It's possible to create a nested raw field?

My index:

PUT test
{
"mappings": {
"test": {
"properties": {
"obx": {
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"nhc":{"type":"keyword"},
"fecha":{"type":"date"},
"sexo":{
"type": "text",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"altura":{
"type": "integer",
"fields": {
"raw": {
"type": "keyword"
}
}
},
"edad":{"type":"integer"},
"diagnostico":{
"type":"nested",
"fields": {
"raw": {
"type": "keyword"

      }
        }
      }
  }
      }
    }
  }

Thanks.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.