I am trying to create the elastic mapping
{
"mappings": {
"calls" : {
"properties":
{
agent_id: {"type" : "string",
"index": "not_analyzed",
"fielddata": true}
}
}
}
}
But I am getting the following error:
[mapper_parsing_exception] Mapping definition for [agent_id] has unsupported parameters: [fielddata : true]