对text字段聚合,没有设置fielddate所以出错

 

http://192.168.60.26:9200/linewell_assets_mgt_es_yh_test/lw_devices/
_mapping
{
  "properties": {
    "country_value": {
             "type": "text",
             "fielddata": true
         },
         "pakc_value": {
             "type": "text",
             "fielddata": true
         }
  }
}

 

posted @ 2019-04-02 12:29  护花使者  Views(255)  Comments(0Edit  收藏  举报