# 5.2.1 Release Notes

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

译文链接 : [http://apache.wiki/pages/editpage.action?pageId=9405273](/display/Elasticsearch/5.2.1+Release+Notes)

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

## Deprecations

### Geo

*   地理位置的范围弃用 [#22835](https://github.com/elastic/elasticsearch/pull/22835)

## Enhancements

### Allocation

*   解释未分配信息时加入过期的副本分片信息 [#22826](https://github.com/elastic/elasticsearch/pull/22826)

## Bug fixes

### Cache 

*   如果查询超时,则缓存查询结果无效 [#22807](https://github.com/elastic/elasticsearch/pull/22807) (issue: [#22789](https://github.com/elastic/elasticsearch/issues/22789))

### Mapping

*   在查询中配置 include_defaults=true 参数时,由于 RangeFieldMapper.doXContentBody 的空指针异常,导致 GetFieldMappingsIndexRequest 失败. [#22925](https://github.com/elastic/elasticsearch/pull/22925)
*   禁止引入非法对象映射 (double _.._) [#22891](https://github.com/elastic/elasticsearch/pull/22891) (issue: [#22794](https://github.com/elastic/elasticsearch/issues/22794))

### Plugin Ingest Attachment

*   新增缺失的 mime4j 类库 [#22799](https://github.com/elastic/elasticsearch/pull/22799) (issue: [#22764](https://github.com/elastic/elasticsearch/issues/22764))

### Plugin Lang Painless

*   Don’t allow casting from void to def in painless [#22969](https://github.com/elastic/elasticsearch/pull/22969) (issue: [#22908](https://github.com/elastic/elasticsearch/issues/22908))
*   Fix def invoked qualified method refs [#22918](https://github.com/elastic/elasticsearch/pull/22918)

### Reindex API

*   重建索引:Reindex: 有老的scroll请求时不能记录 [#22942](https://github.com/elastic/elasticsearch/pull/22942) (issue: [#22937](https://github.com/elastic/elasticsearch/issues/22937))
*   修复远程重建索引 从版本&lt;2.0 [#22931](https://github.com/elastic/elasticsearch/pull/22931) (issue: [#22893](https://github.com/elastic/elasticsearch/issues/22893))

### Settings

*   暴露 search.highlight.term_vector_multi_value 参数作为节点级别的配置项 [#22999](https://github.com/elastic/elasticsearch/pull/22999)

## Regressions

### Core 

*   源过滤器:在前一个包含模式匹配时才接受数组项 [#22593](https://github.com/elastic/elasticsearch/pull/22593) (issue: [#22557](https://github.com/elastic/elasticsearch/issues/22557))

## Upgrades

### Internal 

*   更新 Lucene 版本到 6.4.1. [#22978](https://github.com/elastic/elasticsearch/pull/22978)