随笔分类 -  ElasticSearch

摘要:在Elasticsearch 8.0的版本中也将完全移除TransportClient,其次有些es有些账号不能通过 9300端口连接 所以项目中打算由RestHighLevelClient 替换掉 Transport Client 版本 这里给一张springboot官方的版本推荐 这里我的spr 阅读全文
posted @ 2021-12-16 12:01 图图小淘气_real 阅读(705) 评论(0) 推荐(0) 编辑
摘要:需求:根据时间提取es数据解决:为es的记录添加时间戳 1、方法 配置时间戳 pipeline PUT _ingest/pipeline/my_timestamp_pipeline { "description": "Adds a field to a document with the time 阅读全文
posted @ 2021-12-15 15:58 图图小淘气_real 阅读(892) 评论(0) 推荐(0) 编辑
摘要:记录一下关于日期的问题 "format": "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis" # 创建索引 PUT my_date1 { "mappings": { "properties": { "publicDate": { "type": "dat 阅读全文
posted @ 2021-12-09 10:47 图图小淘气_real 阅读(1852) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示