我正在尝试创建 flex 映射
{
"mappings": {
"calls" : {
"properties":
{
agent_id: {"type" : "string",
"index": "not_analyzed",
"fielddata": true}
}
}
}
}
但是我收到以下错误:
[mapper_parsing_exception] Mapping definition for [agent_id] has unsupported parameters: [fielddata : true]
最佳答案
fielddata似乎是具有text
的"type" : "text"
字段的属性
关于elasticsearch - 无法创建Elasticsearch映射,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42555771/