执行:
PUT test_index //自己索引
{
  "mappings": {
    "properties": {
      "add_time": { //数据表时间字段
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
      }
    }
  }
}
            
                
    717阅读 0条评论
    执行:
PUT test_index //自己索引
{
  "mappings": {
    "properties": {
      "add_time": { //数据表时间字段
        "type": "date",
        "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
      }
    }
  }
}