【问题标题】:Unable to create Elasticsearch mapping无法创建 Elasticsearch 映射
【发布时间】:2017-03-02 12:38:24
【问题描述】:

我正在尝试创建弹性映射

{
   "mappings": {
       "calls" : {
          "properties":
           {
             agent_id: {"type" : "string", 
                        "index": "not_analyzed",
                        "fielddata": true}
            }
        }
    }
}

但我收到以下错误:

[mapper_parsing_exception] [agent_id] 的映射定义具有不受支持的参数:[fielddata : true]

【问题讨论】:

    标签: elasticsearch


    【解决方案1】:

    fielddata 似乎是具有"type" : "text"text 字段的属性

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-09-23
      • 1970-01-01
      • 2018-07-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多