ElasticSearch Date 类型

Date datatype

多种时间格式

Multiple date formats

Multiple formats can be specified by separating them with || as a separator. Each format will be tried in turn until a matching format is found. The first format will be used to convert the milliseconds-since-the-epoch value back into a string.

复制代码
PUT my_index
{
  "mappings": {
    "_doc": {
      "properties": {
        "date": {
          "type":   "date",
          "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
        }
      }
    }
  }
}
相关推荐
阿白逆袭记1 小时前
Git原理与使用详解(十):Git大师之路——总结与最佳实践
大数据·git·elasticsearch
测试人社区-浩辰2 小时前
AI与区块链结合的测试验证方法
大数据·人工智能·分布式·后端·opencv·自动化·区块链
AI营销干货站2 小时前
原圈科技:决胜未来的金融AI市场分析实战教程
大数据·人工智能
kicikng3 小时前
智能体来了(西南总部)完整拆解:AI Agent 指挥官 + AI调度官架构图
大数据·人工智能·多智能体系统·ai agent指挥官·ai调度官
liliangcsdn3 小时前
RL中GAE的计算过程详解
大数据·人工智能·算法
shjita3 小时前
mapreduce多文件的处理手法
大数据·mapreduce
AdMergeX4 小时前
前沿观察 | “死了么”爆火背后:洞察年轻人情绪刚需,重构应用增长新逻辑
大数据·广告saas·流量变现
雨大王5125 小时前
国内外工业AI原生企业对比分析与实战案例解读
大数据
开源能源管理系统5 小时前
MyEMS开源能源管理系统:赋能石膏制品制造业绿色低碳转型与降本增效
大数据·开源·能源·能源管理系统·石膏
得赢科技5 小时前
2025年GEO营销应用白皮书 - 服务业区域推广深度剖析
大数据·人工智能