![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
elasticsearch
文章平均质量分 61
石药
Daemon or Demon? Only a nidea !
展开
-
【踩坑日记】Docker elasticsearch too many open files问题处理
elasticsearch too many open files原创 2023-09-26 18:39:28 · 687 阅读 · 0 评论 -
ElasticSearch增加Mapping及Mapping字段
2.3.x创建MappingPOST /new_test/record/_mapping/{ "record": { "properties": { "analyze_date": { "format": "yyyy-MM-dd HH:mm:ss", "type": "date" }, "upload_原创 2018-06-08 10:53:22 · 15520 阅读 · 0 评论 -
elasticsearch2.x中es-sql的distinct字段和原生的cardinality使用及适用场景
场景: 用户通过数据集dataset分组,并通过event_no字段去重进行数据去重后统计。使用es-sql实现等价去重查询:SELECT dataset,count(DISTINCT event_no) as count from json_archives_qc/info group by dataset为什么我要说类似等价呢? 因为从精确性、性能等角度还是和普通...原创 2018-09-17 09:56:50 · 1717 阅读 · 0 评论 -
Elasticsearch:None of the configured nodes are available
背景:为了研究Elasticsearch的评分机制使用,使用docker快速搭建了elasticsearch;使用spring boot连接ES的时候报错:无法找到节点环境:【jdk】:1.8 【ES】:6.5.4 单节点 (ip:172.26.0.251)【springboot】:2.1.2代码片段:es的elasticsearch.yml配置:clu...原创 2019-04-16 14:57:01 · 3733 阅读 · 0 评论