elasticsearch6.6更新(ES持续更新)

1、索引生命周期管理(测试版)

定义一个索引生命周期策略可以实现下面操作

1、Have one primary shard on each hot node to maximize indexing throughput.
在每一个忙碌节点上都有一个主分片来最大化索引吞吐量
2、Replace the hot index with a new empty index as soon as the existing index is “full” or after a time period.
一旦现有索引是“满”状态或者过一会会变成“满”状态就会用一个新的空索引替换这个忙碌索引
3、Move the old index to warm nodes, where it can be shrunk to a single shard and force-merged down to a single segment for optimized storage and querying.
将一个旧索引移到繁忙的节点上时会压缩到一个单独分片上,并强制合并为单个分段(分段是Lucene检索的单元)来优化存储和查询
4、Later, move the index to cold nodes for cheaper storage.
然后,移动索引到空闲节点来释放存储空间

2、冻结索引

冻结索引以牺牲搜索延迟为代价实现更高比率的磁盘存储与堆内存使用。

3、BKD-backed geoshapes(bkd树算法地图形态)

6.0已经有这个bkd算法对存储、内存和检索性能的提升了,6.6版本的索引更快,占磁盘更小,使用内存更少。

针对这个工作也引入了一个实验字段geo,他是合并了geo_point和geo_hash,BKD树算法也支持geo字段。

geo_point是地理的经纬度值可以用来计算距离和定位。geo_hash是把经纬度坐标编码成了字符串的形式表示。

可以看一下ES官方出的2.X版的中文版文档

猜你喜欢

转载自blog.csdn.net/zpzkitt/article/details/89195394
今日推荐