0
votes

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]

1

1 Answers

1
votes

fielddata seems to be a property of text fields which have "type" : "text"