💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 5.1.1 Release Notes 原文链接 :  [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.1.1.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.1.1.html) 译文链接 :  [http : //apache.wiki/display/Elasticsearch/5.1.1+Release+Notes](http://apache.wiki/display/Elasticsearch/5.1.1+Release+Notes) 贡献者 :  [@yangbin](http://www.apache.wiki/users/viewmyprofile.action),[ApacheCN](/display/~apachecn),[Apache中文网](/display/~apachechina) 也可以参阅 [在 5.1 中的重大改变](/pages/viewpage.action?pageId=9406177)。 ### Breaking changes(重大变化) Aliases * 验证 **alias**(别名)与 **index** **names**(索引名称)相同 [#20771](https://github.com/elastic/elasticsearch/pull/20771)(issue :  [#20748](https://github.com/elastic/elasticsearch/issues/20748)) REST * Remove lenient stats parsing 5.x [#21576](https://github.com/elastic/elasticsearch/pull/21576)(issues :  [#20722](https://github.com/elastic/elasticsearch/issues/20722), [#21410](https://github.com/elastic/elasticsearch/issues/21410), [#21417](https://github.com/elastic/elasticsearch/issues/21417)) ### Breaking Java changes(重大的 JAVA 变化) Discovery * 删除 **ElectMasterService** 的可插拔性 [#21031](https://github.com/elastic/elasticsearch/pull/21031) Exceptions * 删除 **IndexTemplateAlreadyExistsException **和 **IndexShardAlreadyExistsException** [#21539](https://github.com/elastic/elasticsearch/pull/21539)(issue :  [#21494](https://github.com/elastic/elasticsearch/issues/21494))  * 用 **ResourceAlreadyExistsException** 替换 **IndexAlreadyExistsException** [#21494](https://github.com/elastic/elasticsearch/pull/21494) * **Backport** : 使用 **ResourceAlreadyExistsException** 替换 **IndexAlreadyExistsException **[#21601](https://github.com/elastic/elasticsearch/pull/21601)(issue :[#21494](https://github.com/elastic/elasticsearch/issues/21494)) Internal * 传递执行者名称以请求拦截器来支持异步拦截调用 [#21089](https://github.com/elastic/elasticsearch/pull/21089) Network * **Unguice Transport** 和 **friends** [#20526](https://github.com/elastic/elasticsearch/pull/20526)   Plugins * 插件 : 删除 **onModule** 的支持. [#21416](https://github.com/elastic/elasticsearch/pull/21416) ### Deprecations(弃用 ) Analysis * **5.x** 中 **_analyze API** 的弃用请求参数. [#20686](https://github.com/elastic/elasticsearch/pull/20686)(issue : [#20246](https://github.com/elastic/elasticsearch/issues/20246))  CRUD * 不推荐使用 **VersionType.FORCE** [#21078](https://github.com/elastic/elasticsearch/pull/21078)(issue : [#20995](https://github.com/elastic/elasticsearch/issues/20995))  Core * 为默认 **fs** 类型显式选择的用户添加弃用日志. [#21617](https://github.com/elastic/elasticsearch/pull/21617)  Mapping * 对索引请求不服从时间戳和 **ttl**. [#21826](https://github.com/elastic/elasticsearch/pull/21826)(issue : [#21670](https://github.com/elastic/elasticsearch/issues/21670))  Query DSL * 为 **lenient** 布尔查询添加 **deprecation** 日志记录 [#21570](https://github.com/elastic/elasticsearch/pull/21570)(issue : [#21555](https://github.com/elastic/elasticsearch/issues/21555))  * 为模糊查询添加弃用日志记录消息 [#20993](https://github.com/elastic/elasticsearch/pull/20993)(issue : [#15760](https://github.com/elastic/elasticsearch/issues/15760))  Search * 在 **search_shards api **中弃用忽略的类型参数 [#21730](https://github.com/elastic/elasticsearch/pull/21730)(issue : [#21688](https://github.com/elastic/elasticsearch/issues/21688))  Settings * 对于使用存储限制的情况,请添加弃用日志记录 [#21618](https://github.com/elastic/elasticsearch/pull/21618) ### New features(新特性) Analysis * 显示 **Lucenes Ukrainian** 分析器 [#21176](https://github.com/elastic/elasticsearch/pull/21176)(issue :  [#19433](https://github.com/elastic/elasticsearch/issues/19433)) CAT API * 为模板提供一个 **cat api** 端点 [#20545](https://github.com/elastic/elasticsearch/pull/20545)(issue : [#20467](https://github.com/elastic/elasticsearch/issues/20467))  Query DSL * 将“所有字段”执行模式添加到 **simple_query_string** 查询 [#21341](https://github.com/elastic/elasticsearch/pull/21341)(issues : [#19784](https://github.com/elastic/elasticsearch/issues/19784), [#20925](https://github.com/elastic/elasticsearch/issues/20925))  * 将 **quote_field_suffix** 的支持添加到 **simple_query_string.**[#21060](https://github.com/elastic/elasticsearch/pull/21060)(issue : [#18641](https://github.com/elastic/elasticsearch/issues/18641))  * 将“所有字段”执行模式添加到 **query_string query** [#20925](https://github.com/elastic/elasticsearch/pull/20925)(issue : [#19784](https://github.com/elastic/elasticsearch/issues/19784))  Reindex API * 为 **reindex** 和 **friends** 添加自动并行化支持 [#20767](https://github.com/elastic/elasticsearch/pull/20767)(issue : [#20624](https://github.com/elastic/elasticsearch/issues/20624))  ### Enhancements(改进) Aggregations * **Rescorer** 应该应用于 **TopHits aggregation** [#20978](https://github.com/elastic/elasticsearch/pull/20978)(issue : [#19317](https://github.com/elastic/elasticsearch/issues/19317))  Allocation * **BalancedShardsAllocator** 中的均衡步骤为单个分片 [#21103](https://github.com/elastic/elasticsearch/pull/21103) * 处理更高级的分配决定符 [#20724](https://github.com/elastic/elasticsearch/pull/20724)(issue : [#12815](https://github.com/elastic/elasticsearch/issues/12815))  * 在 **BalancedShardsAllocator** 中分离决策应用程序 [#20634](https://github.com/elastic/elasticsearch/pull/20634) * 从决策应用程序分配分配器决策 [#20431](https://github.com/elastic/elasticsearch/pull/20431)(issue : [#20347](https://github.com/elastic/elasticsearch/issues/20347))  Analysis * 删除 **AnalysisService** 并将其简化为分析器映射的简单名称 [#20627](https://github.com/elastic/elasticsearch/pull/20627)(issues : [#19827](https://github.com/elastic/elasticsearch/issues/19827), [#19828](https://github.com/elastic/elasticsearch/issues/19828))  CAT API * 向 **_cat apis** 添加内置的排序功能 [#20658](https://github.com/elastic/elasticsearch/pull/20658)(issue : [#16975](https://github.com/elastic/elasticsearch/issues/16975))  * 将健康状态参数添加到 **cat indices API **[#20393](https://github.com/elastic/elasticsearch/pull/20393) Cache * 不缓存术语查询 [#21566](https://github.com/elastic/elasticsearch/pull/21566)(issues : [#16031](https://github.com/elastic/elasticsearch/issues/16031), [#20116](https://github.com/elastic/elasticsearch/issues/20116))  * 在协调节点上解析别名过滤器 [20916](https://github.com/elastic/elasticsearch/pull/20916) Cluster * 缓存成功的分片删除检查 [#21438](https://github.com/elastic/elasticsearch/pull/21438) Core * 发送大量查询时减少内存压力 [#21776](https://github.com/elastic/elasticsearch/pull/21776) * 启动时安装安全管理器 [#21716](https://github.com/elastic/elasticsearch/pull/21716) * 启动时记录节点ID [#21673](https://github.com/elastic/elasticsearch/pull/21673) * 确保源过滤自动机只能编译一次 [#20857](https://github.com/elastic/elasticsearch/pull/20857)(issue : [#20839](https://github.com/elastic/elasticsearch/issues/20839))  * 在批处理群集状态改变时,提高调度公平性 [#20775](https://github.com/elastic/elasticsearch/pull/20775)(issue : [#20768](https://github.com/elastic/elasticsearch/issues/20768))  * 不记录完整的 **bootstrap** 检查异常 [#19989](https://github.com/elastic/elasticsearch/pull/19989) Exceptions * 为异常添加 **BWC** 图层 [#21694](https://github.com/elastic/elasticsearch/pull/21694)(issue : [#21656](https://github.com/elastic/elasticsearch/issues/21656))  Geo * 优化地理距离排序 [#20596](https://github.com/elastic/elasticsearch/pull/20596)(issue : [#20450](https://github.com/elastic/elasticsearch/issues/20450))  Ingest * 添加 **ignore_missing** 选项到 **SplitProcessor**  [#20982](https://github.com/elastic/elasticsearch/pull/20982)(issues : [#19995](https://github.com/elastic/elasticsearch/issues/19995), [#20840](https://github.com/elastic/elasticsearch/issues/20840))  Internal * 将 **ClusterState#lookupPrototypeSafe **重命名为 **lookupPrototype** 并删除“不安全”未使用的变体 [#21686](https://github.com/elastic/elasticsearch/pull/21686) * **ShardActiveResponseHandler **不应该保持整个群集状态 [#21470](https://github.com/elastic/elasticsearch/pull/21470)(issue : [#21394](https://github.com/elastic/elasticsearch/issues/21394))  * 从 **SearchPhaseController**删除未使用的 **ClusterService **依赖关系 [#21421](https://github.com/elastic/elasticsearch/pull/21421) * 如果没有注册任何操作过滤器,请删除特殊情况 [#21251](https://github.com/elastic/elasticsearch/pull/21251) * 对于 **CacheBuilder** 方法,使用 **TimveValue** 而不是**long **[#20887](https://github.com/elastic/elasticsearch/pull/20887) * 删除 **SearchContext#current**,所有它都是**threadlocals** [#20778](https://github.com/elastic/elasticsearch/pull/20778)(issue : [#19341](https://github.com/elastic/elasticsearch/issues/19341))  Java REST Client * **Rese **请求路径为 **null** 时提供错误消息 [#21233](https://github.com/elastic/elasticsearch/pull/21233)(issue : [#21232](https://github.com/elastic/elasticsearch/issues/21232))  Logging * 在**info**而不是调试时,无法连接到节点 [#21809](https://github.com/elastic/elasticsearch/pull/21809)(issue : [#6468](https://github.com/elastic/elasticsearch/issues/6468))     * 从最后截断日志消息 [#21609](https://github.com/elastic/elasticsearch/pull/21609)(issue : [#21602](https://github.com/elastic/elasticsearch/issues/21602))  * 记录关机操作 [#20389](https://github.com/elastic/elasticsearch/pull/20389)(issue : [#20304](https://github.com/elastic/elasticsearch/issues/20304))  * 禁用控制台日志 [#20387](https://github.com/elastic/elasticsearch/pull/20387) Mapping * 在 **DocumentMapperParser** 中懒惰地创建 **QueryShardContext [#21287](https://github.com/elastic/elasticsearch/pull/21287)** Network * 授予 **Netty** 许可阅读系统 **somaxconn**[#21840](https://github.com/elastic/elasticsearch/pull/21840) * 缓慢地解决单播主机 [#21630](https://github.com/elastic/elasticsearch/pull/21630)(issues : [#14441](https://github.com/elastic/elasticsearch/issues/14441), [#16412](https://github.com/elastic/elasticsearch/issues/16412))  * 修复邮件上未完全读取的处理程序名称 [#21478](https://github.com/elastic/elasticsearch/pull/21478) * 正常关机处理拒绝的ping [#20842](https://github.com/elastic/elasticsearch/pull/20842) Packaging * 为归档分发添加空插件目录 [#21204](https://github.com/elastic/elasticsearch/pull/21204)(issue : [#20342](https://github.com/elastic/elasticsearch/issues/20342))  * 对 **Windows** 服务进行显式缺失设置 [#21200](https://github.com/elastic/elasticsearch/pull/21200)(issue : [#18317](https://github.com/elastic/elasticsearch/issues/18317))  * 更改配置文件的权限 [#20966](https://github.com/elastic/elasticsearch/pull/20966) Plugin Lang Painless * 添加 **Debug.explain** 到缓和 [#21723](https://github.com/elastic/elasticsearch/pull/21723)(issue :  [#20263](https://github.com/elastic/elasticsearch/issues/20263)) * 在没有任何问题的情况下实现 **? :** 运算符#21506 * 在没有任何问题的情况下如果 **int** 不能处理的话建议一个长的常量 #21415(问题 : #21313) * 支持十进制常数,无任何其他问题时使用拖尾[dD] [#21412](https://github.com/elastic/elasticsearch/pull/21412)(issue :  [#21116](https://github.com/elastic/elasticsearch/issues/21116)) * 实现从零安全取消引用的读取 [#21239](https://github.com/elastic/elasticsearch/pull/21239) * 无问题负偏移 [#21080](https://github.com/elastic/elasticsearch/pull/21080)(issue :  [#20870](https://github.com/elastic/elasticsearch/issues/20870)) Plugin Repository S3 * 使默认S3缓冲区大小取决于可用内存  [#21299](https://github.com/elastic/elasticsearch/pull/21299) Plugins * 澄清插件可以关闭 [#21669](https://github.com/elastic/elasticsearch/pull/21669) * 插件 : 将自定义发现转换为基于插件的插件 [#21398](https://github.com/elastic/elasticsearch/pull/21398) * 删除未安装的插件不应触发使用信息 [#21272](https://github.com/elastic/elasticsearch/pull/21272)(issue :  [#21250](https://github.com/elastic/elasticsearch/issues/21250)) * 删除 **ZenPing** 的可插拔性 [#21049](https://github.com/elastic/elasticsearch/pull/21049) * 使 **UnicastHostsProvider** 扩展拉基于 [#21036](https://github.com/elastic/elasticsearch/pull/21036) Query DSL * 在 **MatchAllQueryBuilder** 和 **IdsQueryBuilder** 中使用 **ObjectParser**  [#](https://github.com/elastic/elasticsearch/pull/21273)[21273](https://github.com/elastic/elasticsearch/pull/21273) * 在查询字符串查询中显示**splitOnWhitespace **[#20965](https://github.com/elastic/elasticsearch/pull/20965)(issue :  [#20841](https://github.com/elastic/elasticsearch/issues/20841)) * 如果查询元素未以 **END_OBJECT** 结尾,则抛出错误 [#20528](https://github.com/elastic/elasticsearch/pull/20528)(issue :  [#20515](https://github.com/elastic/elasticsearch/issues/20515)) * 从查询解析器选项中删除 **lowercase_expanded_terms** 和 **locale**。 [#20208](https://github.com/elastic/elasticsearch/pull/20208)(issue :  [#9978](https://github.com/elastic/elasticsearch/issues/9978)) Reindex API * 使 **reindex** 从远程忽略未知字段 [#20591](https://github.com/elastic/elasticsearch/pull/20591)(issue :  [#20504](https://github.com/elastic/elasticsearch/issues/20504)) Scripting * 在 **ScriptException** 中包装 **VerifyError** [#21769](https://github.com/elastic/elasticsearch/pull/21769) * 支持脚本值中的二进制字段类型 [#21484](https://github.com/elastic/elasticsearch/pull/21484)(issue : [#14469](https://github.com/elastic/elasticsearch/issues/14469)) * **Mustache** : 将 **{{#url}} {{/ url}}** 函数添加到URL编码字符串中 [#20838](https://github.com/elastic/elasticsearch/pull/20838) * 在更新脚本中显示 **ctx._now** [#20835](https://github.com/elastic/elasticsearch/pull/20835)(issue : [#17895](https://github.com/elastic/elasticsearch/issues/17895)) Search * 添加索引和过滤器信息以搜索分片api输出 [#21738](https://github.com/elastic/elasticsearch/pull/21738)(issue : [#20916](https://github.com/elastic/elasticsearch/issues/20916)) * 在 **TransportSearchAction **中删除无意义的 **catch** 异常 [#21689](https://github.com/elastic/elasticsearch/pull/21689) * 在URL中使用类型过滤器优化查询**(t / t / _search)** [#20979](https://github.com/elastic/elasticsearch/pull/20979) * 使任务管理API可以取消搜索操作 [#20405](https://github.com/elastic/elasticsearch/pull/20405) Search Templates * 向模板API添加配置文件并解释参数 [#20451](https://github.com/elastic/elasticsearch/pull/20451) Snapshot/Restore * 在离开群集的节点上中止快照 [#21084](https://github.com/elastic/elasticsearch/pull/21084)(issue : [#20876](https://github.com/elastic/elasticsearch/issues/20876)) Stats * 消除负载平均宽容 [#21380](https://github.com/elastic/elasticsearch/pull/21380) * 加强处理不可用的 **cgroup** 数据 [#21094](https://github.com/elastic/elasticsearch/pull/21094)(issue : [#21029](https://github.com/elastic/elasticsearch/issues/21029)) * 添加基本的 **cgroup CPU** 指标 [#21029](https://github.com/elastic/elasticsearch/pull/21029) Task Manager * 添加搜索任务说明 [#21740](https://github.com/elastic/elasticsearch/pull/21740) Tribe Node * 添加支持在部落节点中合并自定义元数据 [#21552](https://github.com/elastic/elasticsearch/pull/21552)(issues : [#20544](https://github.com/elastic/elasticsearch/issues/20544), [#20791](https://github.com/elastic/elasticsearch/issues/20791), [#9372](https://github.com/elastic/elasticsearch/issues/9372))  ### Bug fixes(Bug 修复) Aggregations * 在**FilterAggregationBuilder**中重写查询/过滤器,并确保客户端使用标记为不可高速缓存 [#21303](https://github.com/elastic/elasticsearch/pull/21303)(issue :  [#21301](https://github.com/elastic/elasticsearch/issues/21301)) * 百分位全部快速失效 [#21218](https://github.com/elastic/elasticsearch/pull/21218) * 脚本重要性启发式的线程安全性 [#21113](https://github.com/elastic/elasticsearch/pull/21113)(issue :  [#18120](https://github.com/elastic/elasticsearch/issues/18120)) Allocation * 允许主器件在分片状态提取期间将主分片分配给已分片存储锁定的节点 [#21656](https://github.com/elastic/elasticsearch/pull/21656)(issue :  [#19416](https://github.com/elastic/elasticsearch/issues/19416)) Analysis * 可以在 **Analyze API** 中加载非 **PreBuiltTokenFilter** [#20396](https://github.com/elastic/elasticsearch/pull/20396) CAT API * 早期使用 **full_id** 请求参数 [#21270](https://github.com/elastic/elasticsearch/pull/21270)(issue :  [#21266](https://github.com/elastic/elasticsearch/issues/21266)) Cache * 修复请求缓存键不保存对 **SearchContext** 的引用。 [#21284](https://github.com/elastic/elasticsearch/pull/21284) Circuit Breakers * **ClusterState** 发布不应触发断路器 [#20986](https://github.com/elastic/elasticsearch/pull/20986)(issues :  [#20827](https://github.com/elastic/elasticsearch/issues/20827), [#20960](https://github.com/elastic/elasticsearch/issues/20960)) Cluster * 任务超时时,删除群集更新任务 [#21578](https://github.com/elastic/elasticsearch/pull/21578)(issue :  [#21568](https://github.com/elastic/elasticsearch/issues/21568)) Core * 添加一个 **StreamInput#readArraySize** 方法,可以确保数组的大小 [#21697](https://github.com/elastic/elasticsearch/pull/21697) * 在 **StreamOutput#writeString** 中使用缓冲区进行字符转换 [#21680](https://github.com/elastic/elasticsearch/pull/21680)(issue :  [#21660](https://github.com/elastic/elasticsearch/issues/21660)) * 修复**ShardInfo#toString** [#21319](https://github.com/elastic/elasticsearch/pull/21319) * 保护 **BytesStreamOutput** 以防止当前数量的写入字节的溢出. [#21174](https://github.com/elastic/elasticsearch/pull/21174)(issue :  [#21159](https://github.com/elastic/elasticsearch/issues/21159)) * 返回目标索引名称,即使不符合 **_rollover** 条件 [#21138](https://github.com/elastic/elasticsearch/pull/21138) * .系统崩溃后,**es_temp_file **仍然保留,从而不会再次启动 [#21007](https://github.com/elastic/elasticsearch/pull/21007)(issue :  [#20992](https://github.com/elastic/elasticsearch/issues/20992)) Dates * 修复 **DST **重叠的时区四舍五入 [#21550](https://github.com/elastic/elasticsearch/pull/21550)(issue :  [#20833](https://github.com/elastic/elasticsearch/issues/20833)) Engine * 在Lucene层合理地消除... [#21721](https://github.com/elastic/elasticsearch/pull/21721)(issue :  [#19272](https://github.com/elastic/elasticsearch/issues/19272)) * **Fix InternalEngine#**被修改为不总是返回 **false**.... [#21592](https://github.com/elastic/elasticsearch/pull/21592) * 在副本上重试复制请求不会调用 **onRetry **[#21189](https://github.com/elastic/elasticsearch/pull/21189)(issue :  [#20211](https://github.com/elastic/elasticsearch/issues/20211)) Highlighting * 修复 **FiltersFunctionScoreQuery **突出显示 [#21827](https://github.com/elastic/elasticsearch/pull/21827) * 修复存储的关键字字段上的突出显示 [#21645](https://github.com/elastic/elasticsearch/pull/21645)(issue :  [#21636](https://github.com/elastic/elasticsearch/issues/21636)) Index APIs * 如果 **dry_run = true**,则早期验证 **_report** 目标索引名称也会失败 [#21330](https://github.com/elastic/elasticsearch/pull/21330)(issue :  [#21149](https://github.com/elastic/elasticsearch/issues/21149)) Index Templates * 在处理模板时修复整数溢出. [#21628](https://github.com/elastic/elasticsearch/pull/21628)(issue :  [#21622](https://github.com/elastic/elasticsearch/issues/21622)) Ingest * 修复 **trace_match** 行为,只有一个 **grok** 模式 [#21413](https://github.com/elastic/elasticsearch/pull/21413)(issue :  [#21371](https://github.com/elastic/elasticsearch/issues/21371)) * 存储的脚本和摄取节点配置应包含在快照中 [#21227](https://github.com/elastic/elasticsearch/pull/21227)(issue :  [#21184](https://github.com/elastic/elasticsearch/issues/21184)) Inner Hits * 跳过将一个父字段添加到嵌套文档中. [#21522](https://github.com/elastic/elasticsearch/pull/21522)(issue :  [#21503](https://github.com/elastic/elasticsearch/issues/21503)) Internal * 从加载器到 **Cache#computeIfAbsent** 的并发调用者 **Rethrow ExecutionException** [#21549](https://github.com/elastic/elasticsearch/pull/21549) * 在返回到**ThreadPool**之前恢复线程的原始上下文 [#21411](https://github.com/elastic/elasticsearch/pull/21411) * 修复 **NPE** 在 **SearchContext.toString()** [#21069](https://github.com/elastic/elasticsearch/pull/21069) * 源过滤应将字段名称中的点视为子对象. [#20736](https://github.com/elastic/elasticsearch/pull/20736)(issue :  [#20719](https://github.com/elastic/elasticsearch/issues/20719)) Java API * 传输客户端 : 修复删除地址实际工作 [#21743](https://github.com/elastic/elasticsearch/pull/21743) * 如果节点断开连接,则添加一个 **HostFailureListener** 来通知客户机代码 [#21709](https://github.com/elastic/elasticsearch/pull/21709)(issue :  [#21424](https://github.com/elastic/elasticsearch/issues/21424)) * 修复 **InternalSearchHit#hasSource** 返回正确的布尔值 [#21441](https://github.com/elastic/elasticsearch/pull/21441)(issue :  [#21419](https://github.com/elastic/elasticsearch/issues/21419)) * 调用 **sourceRef** 时未检查源  [#21431](https://github.com/elastic/elasticsearch/pull/21431)(issue :  [#19279](https://github.com/elastic/elasticsearch/issues/19279)) * **ClusterAdminClient.prepareDeletePipeline **方法应该接受要删除的管道ID [#21228](https://github.com/elastic/elasticsearch/pull/21228) Java REST Client * REST客户端 : 不要在多个重试中重复使用相同的 **HttpAsyncResponseConsumer **[#21378](https://github.com/elastic/elasticsearch/pull/21378) Logging * 不要过早关闭 **Log4j  **[#21519](https://github.com/elastic/elasticsearch/pull/21519)(issue :  [#21514](https://github.com/elastic/elasticsearch/issues/21514)) * 断言状态记录器不会对 **Log4j** 的用法发出警告 [#21339](https://github.com/elastic/elasticsearch/pull/21339) * 修复 **Netty **的记录器名称 [#21223](https://github.com/elastic/elasticsearch/pull/21223)(issue :  [#20457](https://github.com/elastic/elasticsearch/issues/20457)) Mapping * 当其中一个中间对象嵌套时,无法在字段名称中用点索引字段. [#21787](https://github.com/elastic/elasticsearch/pull/21787)(issue :  [#21726](https://github.com/elastic/elasticsearch/issues/21726)) * 未提交的映射更新不应影响现有索引 [#21306](https://github.com/elastic/elasticsearch/pull/21306)(issue :  [#21189](https://github.com/elastic/elasticsearch/issues/21189)) Network * **DiscoveryNode** 和 **TransportAddress** 应保存主机信息 [#21828](https://github.com/elastic/elasticsearch/pull/21828) * 在网络层合理地消除 [#21720](https://github.com/elastic/elasticsearch/pull/21720)(issue :  [#19272](https://github.com/elastic/elasticsearch/issues/19272)) * 如果发送监听器引发异常,则防止 **TcpTransport** 中的双重释放 [#20880](https://github.com/elastic/elasticsearch/pull/20880) Packaging * 在 **systemd** 程序包安装上设置 **vm.max_map_count** [#21507](https://github.com/elastic/elasticsearch/pull/21507) * 导出 **SysV init** 的 **ES_JVM_OPTIONS ** [#21445](https://github.com/elastic/elasticsearch/pull/21445)(issue :  [#21255](https://github.com/elastic/elasticsearch/issues/21255)) * Debian : 将 **start-stop-daemon** 配置为不进入后台 [#21343](https://github.com/elastic/elasticsearch/pull/21343)(issues :  [#12716](https://github.com/elastic/elasticsearch/issues/12716), [#21300](https://github.com/elastic/elasticsearch/issues/21300)) * 生成具有非通配符的 **POM** 文件不包括在内  [#21234](https://github.com/elastic/elasticsearch/pull/21234)(issue :  [#21170](https://github.com/elastic/elasticsearch/issues/21170)) Plugin Lang Painless * **def** 的测试修正等同于合理 [#21945](https://github.com/elastic/elasticsearch/pull/21945)(issue :  [#21801](https://github.com/elastic/elasticsearch/issues/21801)) * 修复无错的VerifyError错误 [#21765](https://github.com/elastic/elasticsearch/pull/21765) * 修复 **Lambdas **以能够使用顶级变量,如参数和文档 [#21635](https://github.com/elastic/elasticsearch/pull/21635)(issues :  [#20869](https://github.com/elastic/elasticsearch/issues/20869), [#21479](https://github.com/elastic/elasticsearch/issues/21479)) Plugin Mapper Attachment * 在附件类型中定义非现有类型时,会引发 **NPE** [#21848](https://github.com/elastic/elasticsearch/pull/21848) Query DSL * 使用时区修改日期范围查询 [#21542](https://github.com/elastic/elasticsearch/pull/21542)(issue :  [#21501](https://github.com/elastic/elasticsearch/issues/21501)) * 当指定 **lenient** 选项时,允许覆盖所有字段的 **leniency**  [#21504](https://github.com/elastic/elasticsearch/pull/21504)(issues :  [#20925](https://github.com/elastic/elasticsearch/issues/20925), [#21341](https://github.com/elastic/elasticsearch/issues/21341)) * 当使用 **rescorer **时,应该更新最高分数 [#20977](https://github.com/elastic/elasticsearch/pull/20977)(issue :  [#20651](https://github.com/elastic/elasticsearch/issues/20651)) REST * 索引统计的严格级别解析 [#21577](https://github.com/elastic/elasticsearch/pull/21577)(issue :  [#21024](https://github.com/elastic/elasticsearch/issues/21024)) * 路由查询字符串参数由 **mget **支持,但从其余规格中缺少 [#21357](https://github.com/elastic/elasticsearch/pull/21357) * 修复 **thread_pool_patterns** 路径变量定义 [#21332](https://github.com/elastic/elasticsearch/pull/21332) * 确保 **XContentBuilder** 始终在 **RestBuilderListener** 中关闭 [#21124](https://github.com/elastic/elasticsearch/pull/21124) * **XContentBuilder** : 避免构建自引用对象 [#20550](https://github.com/elastic/elasticsearch/pull/20550)(issues :  [#19475](https://github.com/elastic/elasticsearch/issues/19475), [#20540](https://github.com/elastic/elasticsearch/issues/20540)) Reindex API * 忽略 **IllegalArgumentException** 与 **assertVersionSerializable** [#21409](https://github.com/elastic/elasticsearch/pull/21409)(issues :  [#20767](https://github.com/elastic/elasticsearch/issues/20767), [#21350](https://github.com/elastic/elasticsearch/issues/21350)) * **Bump reindex** 从远程的缓冲区到 **200mb** [#21222](https://github.com/elastic/elasticsearch/pull/21222)(issue :  [#21185](https://github.com/elastic/elasticsearch/issues/21185)) * 修复从< 2.0的父/子的远程索引 [#21070](https://github.com/elastic/elasticsearch/pull/21070)(issue :  [#21044](https://github.com/elastic/elasticsearch/issues/21044)) Search * 在 **boosted** 字段上修正 **match_phrase_prefix**  [#21623](https://github.com/elastic/elasticsearch/pull/21623)(issue :  [#21613](https://github.com/elastic/elasticsearch/issues/21613)) * 关于默认搜索超时 [#21599](https://github.com/elastic/elasticsearch/pull/21599)(issues :  [#12211](https://github.com/elastic/elasticsearch/issues/12211), [#21595](https://github.com/elastic/elasticsearch/issues/21595)) * 删除 **LateParsingQuery** 以防止上下文冻结后的时间戳访问 [#21328](https://github.com/elastic/elasticsearch/pull/21328)(issue :  [#21295](https://github.com/elastic/elasticsearch/issues/21295)) Search Templates * **SearchTemplateRequest** 来实现 **CompositeIndicesRequest** [#21865](https://github.com/elastic/elasticsearch/pull/21865)(issue :  [#21747](https://github.com/elastic/elasticsearch/issues/21747)) Settings * 处理 **action.auto_create_index** 中的空格 [#21790](https://github.com/elastic/elasticsearch/pull/21790)(issue :  [#21449](https://github.com/elastic/elasticsearch/issues/21449)) * 修正固定和组设置的差异生成 [#21788](https://github.com/elastic/elasticsearch/pull/21788) * 除非明确要求,否则不要重置非动态设置 [#21646](https://github.com/elastic/elasticsearch/pull/21646)(issue :  [#21593](https://github.com/elastic/elasticsearch/issues/21593)) Snapshot/Restore * 修复缺失 **index-N** 文件时的碎片级快照元数据加载 [#21813](https://github.com/elastic/elasticsearch/pull/21813) * 确保在快照过程中清除临时索引*代代码 [#21469](https://github.com/elastic/elasticsearch/pull/21469)(issue :  [#21462](https://github.com/elastic/elasticsearch/issues/21462)) * 修复在要求 **_all** 时获取快照重复 [#21340](https://github.com/elastic/elasticsearch/pull/21340)(issue :  [#21335](https://github.com/elastic/elasticsearch/issues/21335)) * 保持快照恢复状态和路由表同步**(5.x backport)** [#21131](https://github.com/elastic/elasticsearch/pull/21131)(issue :  [#20836](https://github.com/elastic/elasticsearch/issues/20836)) Task Manager * 任务取消命令应等待所有子节点在返回之前接收取消请求 [#21397](https://github.com/elastic/elasticsearch/pull/21397)(issue :  [#21126](https://github.com/elastic/elasticsearch/issues/21126)) Tribe Node * 添加部落节点的套接字权限 [#21546](https://github.com/elastic/elasticsearch/pull/21546)(issues :  [#16392](https://github.com/elastic/elasticsearch/issues/16392), [#21122](https://github.com/elastic/elasticsearch/issues/21122)) ### Upgrades(升级) Core * 升级到 **lucene-6.3.0**。 [#21464](https://github.com/elastic/elasticsearch/pull/21464) Dates * 将 **Joda** 时间更新到版本 **2.9.5** [#21468](https://github.com/elastic/elasticsearch/pull/21468)(issues :  [#20911](https://github.com/elastic/elasticsearch/issues/20911), [#332](https://github.com/elastic/elasticsearch/issues/332), [#373](https://github.com/elastic/elasticsearch/issues/373), [#378](https://github.com/elastic/elasticsearch/issues/378), [#379](https://github.com/elastic/elasticsearch/issues/379), [#386](https://github.com/elastic/elasticsearch/issues/386), [#394](https://github.com/elastic/elasticsearch/issues/394), [#396](https://github.com/elastic/elasticsearch/issues/396), [#397](https://github.com/elastic/elasticsearch/issues/397), [#404](https://github.com/elastic/elasticsearch/issues/404), [#69](https://github.com/elastic/elasticsearch/issues/69)) Logging * 将 **Log4j2** 升级到版本 **2.7** [#20805](https://github.com/elastic/elasticsearch/pull/20805)(issue :  [#20304](https://github.com/elastic/elasticsearch/issues/20304)) Network * 升级到 **Netty 4.1.6** [#21051](https://github.com/elastic/elasticsearch/pull/21051) Plugin Ingest Attachment * 更新到 **Tika 1.14** [#21663](https://github.com/elastic/elasticsearch/pull/21663)(issues :  [#20710](https://github.com/elastic/elasticsearch/issues/20710), [#21591](https://github.com/elastic/elasticsearch/issues/21591))