# 5.2.2 Release Notes

原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.2.2.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.2.2.html)

译文链接 : [http://apache.wiki/display/Elasticsearch/5.2.2+Release+Notes](http://apache.wiki/display/Elasticsearch/5.2.2+Release+Notes)

贡献者 : [星星火](/display/~xuchangqun)，[ApacheCN](/display/~apachecn)，[Apache中文网](/display/~apachechina)

也可以参阅 [在 5.2 中的重大改变](/pages/viewpage.action?pageId=9406168)。

### Bug fixes

Aggregations

*   恢复对 **include/pattern** 语法的支持. [#23140](https://github.com/elastic/elasticsearch/pull/23140)（issue: [#22933](https://github.com/elastic/elasticsearch/issues/22933)）

Cluster

*   不要将本地节点设置为用于节点链接验证的群集状态 [#23311](https://github.com/elastic/elasticsearch/pull/23311)（issue: [#21830](https://github.com/elastic/elasticsearch/issues/21830)）
*   集群分配说明永远不会返回空响应体. [#23054](https://github.com/elastic/elasticsearch/pull/23054)

Index APIs

*   确保缩小的索引从其来源集成版本信息. [#22469](https://github.com/elastic/elasticsearch/pull/22469)（issue: [#22373](https://github.com/elastic/elasticsearch/issues/22373)）

Internal

*   始终恢复 **ThreadContext** 以使由于块阻塞而延迟的操作. [#23349](https://github.com/elastic/elasticsearch/pull/23349)

Java REST Client

*   **RestClient** 异步执行不应该抛出异常.  [#23307](https://github.com/elastic/elasticsearch/pull/23307)

Network

*   Respect promises on pipelined responses [#23317](https://github.com/elastic/elasticsearch/pull/23317)（issues: [#23310](https://github.com/elastic/elasticsearch/issues/23310), [#23322](https://github.com/elastic/elasticsearch/issues/23322)）
*   确保调用释放监听器 [#23310](https://github.com/elastic/elasticsearch/pull/23310)

Plugin Ingest Attachment

*   移除对 **Visio** 和 **potm** 文件的支持 [#23214](https://github.com/elastic/elasticsearch/pull/23214)（issues: [#22077](https://github.com/elastic/elasticsearch/issues/22077), [#22079](https://github.com/elastic/elasticsearch/issues/22079), [#22963](https://github.com/elastic/elasticsearch/issues/22963)）

REST

*   正确的编码头位置 [#23133](https://github.com/elastic/elasticsearch/pull/23133)（issues: [#21057](https://github.com/elastic/elasticsearch/issues/21057), [#23115](https://github.com/elastic/elasticsearch/issues/23115)）

Stats

*   修复控制组模式 [#23219](https://github.com/elastic/elasticsearch/pull/23219)（issue: [#23218](https://github.com/elastic/elasticsearch/issues/23218)）