🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# 5.2.0 Release Notes 原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.2.0.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.2.0.html) 译文链接 : [http://www.apache.wiki/display/Elasticsearch/5.2.0+Release+Notes](http://www.apache.wiki/display/Elasticsearch/5.2.0+Release+Notes) 贡献者 : [张瑞超](/display/~zhangruichao),[ApacheCN](/display/~apachecn),[Apache中文网](/display/~apachechina) ### Breaking changes(重大变化) Core * Add system call filter bootstrap check [#21940](https://github.com/elastic/elasticsearch/pull/21940) ### Breaking Java changes(重大的 Java 变化) Allocation * **Cluster Explain API** 使用分配过程来解释分片策略 [#22182](https://github.com/elastic/elasticsearch/pull/22182) (issues:[#20347](https://github.com/elastic/elasticsearch/issues/20347), [#20634](https://github.com/elastic/elasticsearch/issues/20634), [#21103](https://github.com/elastic/elasticsearch/issues/21103), [#21662](https://github.com/elastic/elasticsearch/issues/21662), [#21691](https://github.com/elastic/elasticsearch/issues/21691)) Cluster * 删除基于 **PROTO **的自定义集群状态组件[#22336](https://github.com/elastic/elasticsearch/pull/22336) (issue: [#21868](https://github.com/elastic/elasticsearch/issues/21868)) Ingest * 将获取文档元数据字段 **TIMESTAMP** 的类型更改为 **Date**(日期)[#22234](https://github.com/elastic/elasticsearch/pull/22234)(问题 : [#22074](https://github.com/elastic/elasticsearch/issues/22074)) Internal * 巩固最后一个简单的解析器构造 [#22095](https://github.com/elastic/elasticsearch/pull/22095) * 介绍 **XContentParser#namedObject** [#22003](https://github.com/elastic/elasticsearch/pull/22003) Plugins * 插件 : 用 **RestHandler wrapper **替换 **Rest filters**(过滤器)[#21905](https://github.com/elastic/elasticsearch/pull/21905) Query DSL * 解析 **index_boost **中的索引名称 [#21393](https://github.com/elastic/elasticsearch/pull/21393)(issue: [#4756](https://github.com/elastic/elasticsearch/issues/4756)) Search * 集群搜索 **shards**(分片)改进 : **expose** **ShardId**,调整某些成员的可见性 [#21752](https://github.com/elastic/elasticsearch/pull/21752) ### 废除项 Java API * 在BoolQueryBuilder中弃用并删除“minimumNumberShouldMatch” Shadow Replicas * 添加一个弃用通知到shadow replicas(issue: [#22024](https://github.com/elastic/elasticsearch/issues/22024)) ## 新功能 Analysis * 同义词图表支持(LUCENE-6664) [#21517](https://github.com/elastic/elasticsearch/pull/21517) Ingest * 在摄入节点中引入KV处理器 [#22272](https://github.com/elastic/elasticsearch/pull/22272) (issue: [#22222](https://github.com/elastic/elasticsearch/issues/22222)) Mapping * 添加在关键字字段上设置规范化器的功能[#21919](https://github.com/elastic/elasticsearch/pull/21919) (issue: [#18064](https://github.com/elastic/elasticsearch/issues/18064)) * 为数字和日期范围类型添加RangeFieldMapper[#21002](https://github.com/elastic/elasticsearch/pull/21002) (issue: [#20999](https://github.com/elastic/elasticsearch/issues/20999)) ## 增强功能 Aggregations * 排除脚本对value_type属性有用性的影响.[#22160](https://github.com/elastic/elasticsearch/pull/22160) (issue: [#20163](https://github.com/elastic/elasticsearch/issues/20163)) * 支持分区术语[#21626](https://github.com/elastic/elasticsearch/pull/21626) (issue: [#21487](https://github.com/elastic/elasticsearch/issues/21487)) Allocation * 将设置级别添加到决策者说明配置.[#22268](https://github.com/elastic/elasticsearch/pull/22268) (issue: [#21771](https://github.com/elastic/elasticsearch/issues/21771)) * 提高决策者的决策信息配置说明 * 为分配说明API准备分配器分配决策对象 Analysis * 暴露FlattenGraphTokenFilter [#22643](https://github.com/elastic/elasticsearch/pull/22643) CRUD * 对TRA子类使用正确的锁级别 Cluster * 保持NodeConnectionsService与群集状态中的当前节点同步[#22509](https://github.com/elastic/elasticsearch/pull/22509) * 在序列化自定义集群对象之前添加一种检查版本的方式 [#22376](https://github.com/elastic/elasticsearch/pull/22376) (issue:[#22313](https://github.com/elastic/elasticsearch/issues/22313)) * 在节点加入,恢复,升级和打开索引上添加支持的索引版本的验证 [#21830](https://github.com/elastic/elasticsearch/pull/21830)(issue: [#21670](https://github.com/elastic/elasticsearch/issues/21670)) * 让ClusterStateObserver只保持变更检测所需的状态 [#21631](https://github.com/elastic/elasticsearch/pull/21631) (issue:[#21568](https://github.com/elastic/elasticsearch/issues/21568)) * 删除集群状态中的可变字段[#21379](https://github.com/elastic/elasticsearch/pull/21379) Core * 将bootstrap.seccomp 重命名为 bootstrap.system_call_filter[#22226](https://github.com/elastic/elasticsearch/pull/22226) (issue: [#21940](https://github.com/elastic/elasticsearch/issues/21940)) * 清除序列化状态中的随机状态[#22223](https://github.com/elastic/elasticsearch/pull/22223) * 反序列化布尔时避免变动[#22152](https://github.com/elastic/elasticsearch/pull/22152) * 发送大量查询时减少内存压力[#21776](https://github.com/elastic/elasticsearch/pull/21776) Discovery * Simplify Unicast Zen Ping [#22277](https://github.com/elastic/elasticsearch/pull/22277) (issues: [#19370](https://github.com/elastic/elasticsearch/issues/19370), [#21739](https://github.com/elastic/elasticsearch/issues/21739), [#22120](https://github.com/elastic/elasticsearch/issues/22120), [#22194](https://github.com/elastic/elasticsearch/issues/22194)) * 当成为主机时,优先加入具有冲突的传输地址的节点[#22134](https://github.com/elastic/elasticsearch/pull/22134) (issues:[#22049](https://github.com/elastic/elasticsearch/issues/22049), [#22120](https://github.com/elastic/elasticsearch/issues/22120)) Ingest * `添加ignore_missing` 标志到 ingest plugins [#22273](https://github.com/elastic/elasticsearch/pull/22273) * 增加了通过通配符删除管道的能力 (#22149) [#22191](https://github.com/elastic/elasticsearch/pull/22191) (issue: [#22149](https://github.com/elastic/elasticsearch/issues/22149)) * 可以将序列化的json字段注入到文档的根目录中 [#22179](https://github.com/elastic/elasticsearch/pull/22179) (issue: [#21898](https://github.com/elastic/elasticsearch/issues/21898)) * 在创建摄取管道时编译ScriptProcessor内联脚本[#21858](https://github.com/elastic/elasticsearch/pull/21858) (issue: [#21842](https://github.com/elastic/elasticsearch/issues/21842)) Internal * 删除一些ParseFieldMatcher的用法[#22398](https://github.com/elastic/elasticsearch/pull/22398) (issues: [#19552](https://github.com/elastic/elasticsearch/issues/19552), [#22130](https://github.com/elastic/elasticsearch/issues/22130)) * 删除一些ParseFieldMatcher 的用法[#22389](https://github.com/elastic/elasticsearch/pull/22389) (issues: [#19552](https://github.com/elastic/elasticsearch/issues/19552), [#22130](https://github.com/elastic/elasticsearch/issues/22130)) * 添加基础设施来管理Transport / TransportService之外的网络连接[#22194](https://github.com/elastic/elasticsearch/pull/22194) * 用响应标题断言替换严格的解析模式 [#22130](https://github.com/elastic/elasticsearch/pull/22130) (issues: [#11859](https://github.com/elastic/elasticsearch/issues/11859), [#19552](https://github.com/elastic/elasticsearch/issues/19552),[#20993](https://github.com/elastic/elasticsearch/issues/20993)) Java High Level REST Client Java REST Client Logging Mapping Network Packaging Plugin Discovery EC2 Plugin Ingest GeoIp Plugin Lang Painless Plugins Query DSL * Un-deprecate fuzzy query [#22088](https://github.com/elastic/elasticsearch/pull/22088)(issue:[#15760](https://github.com/elastic/elasticsearch/issues/15760)) * support numeric bounds with decimal parts for long/integer/short/byte datatypes [#21972](https://github.com/elastic/elasticsearch/pull/21972)(issue:[#21600](https://github.com/elastic/elasticsearch/issues/21600)) Reindex API Scripting   Search Settings Snapshot/Restore Stats Task Manager Bug fixes Aggregations Allocation  Analysis  CRUD  Cluster  Core Discovery Engine  Exceptions  Highlighting  Index APIs  Ingest  Inner Hits  Internal  Java API  Java REST Client  Mapping ## Nested Docs Network ## Packaging Percolator Plugin Analysis Stempel  Plugin Lang Painless  Plugin Mapper Attachment  Plugin Repository Azure  Query DSL  REST  Recovery  Reindex API  Scripting  Search  Search Templates  Settings  Snapshot/Restore  Stats  Term Vectors Regressions Core  Logging  Search Upgrades Core  Network ## 突破变化 核心 * 添加系统调用过滤器引导检查 [#21940](https://github.com/elastic/elasticsearch/pull/21940)   ## Java 突破变化 Allocation * Cluster Explain API使用分配过程来解释分片策略 [#22182](https://github.com/elastic/elasticsearch/pull/22182) (issues:[#20347](https://github.com/elastic/elasticsearch/issues/20347), [#20634](https://github.com/elastic/elasticsearch/issues/20634), [#21103](https://github.com/elastic/elasticsearch/issues/21103), [#21662](https://github.com/elastic/elasticsearch/issues/21662), [#21691](https://github.com/elastic/elasticsearch/issues/21691)) Cluster * 删除基于PROTO的自定义集群状态组件[#22336](https://github.com/elastic/elasticsearch/pull/22336) (issue: [#21868](https://github.com/elastic/elasticsearch/issues/21868)) Ingest Internal Plugins Query DSL Search ## 废除项 正文3 ## 目录 N - 标题 2 正文4