多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 5.0.1 Release Notes #### 另请参阅 [在5.0重大改变](http://www.apache.wiki/pages/viewpage.action?pageId=4260618)。 原文链接 : [https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.0.1.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/release-notes-5.0.1.html) 译文链接 :[5.0.1 Release Notes](/display/Elasticsearch/5.0.1+Release+Notes) 贡献者 : @luoke,[ApacheCN](/display/~apachecn),[Apache中文网](/display/~apachechina) ## Deprecations ### CRUD * 不推荐使用版本[#21078](https://github.com/elastic/elasticsearch/pull/21078)(issue:[#20995](https://github.com/elastic/elasticsearch/pull/20995)) ## **加强的功能** ####  Aggregations (聚合) * Rescorer将应在顶部聚合中[#20978](https://github.com/elastic/elasticsearch/pull/20978)(问题:[#19317](https://github.com/elastic/elasticsearch/issues/19317)) ####   Internal * ShardActiveResponseHandler不再支持整个群集状态[#21470](https://github.com/elastic/elasticsearch/pull/21470)(issue:[#21394](https://github.com/elastic/elasticsearch/issues/21394)) #### Network * 修复在响应时未完全读取的程序名称[#21478](https://github.com/elastic/elasticsearch/pull/21478) ####        Packaging * 为存档添加空插件目录[#21204](https://github.com/elastic/elasticsearch/pull/21204)(问题:[#20342](https://github.com/elastic/elasticsearch/issues/20342)) * 在Windows下,提示必要的配置安装[#21200](https://github.com/elastic/elasticsearch/pull/21200)(问题:[#18317](https://github.com/elastic/elasticsearch/issues/18317)) * 更改配置文件的权限[#20966](https://github.com/elastic/elasticsearch/pull/20966) ####       Search * 使用类型过滤器优化URL(t / t / _search)查询[#20979](https://github.com/elastic/elasticsearch/pull/20979) ## Bug **修复** ####        Aggregations * 重写FilterAggregationBuilder中的查询/过滤器,并确保客户端使用情况标记为不可高速缓存#21303(问题:#21301) * 脚本显示启发式的线程安全性#21113(issue:#18120) * ip_range聚合应接受空白界限。 #21043(issue:#21006) ####         CAT API * 早期使用full_id请求参数#21270(issue:#21266) ####        Cache * 修复请求缓存键,不保存对SearchContext的引用。 #21284 ####          Circuit Breakers * ClusterState发布不应触发断路器#20986(问题:#20827,#20960) #### Core * 修复ShardInfo#toString#21319 * 保护BytesStreamOutput免受当前写入字节数的溢出。 #21174(issue:#21159) * 即使不符合_rellover条件,返回目标索引名称#21138 #### Engine * 在副本上重试复制请求不调用onRetry#21189(issue:#20211) ####          Index APIs * 如果dry_run = true,则早期验证_rollover目标索引名称也会失败#21330(issue:#21149) #### Ingest * 存储脚本和摄取节点配置应包含在快照#21227(issue:#21184)中 #### Internal * 恢复线程的原始上下文,然后返回到ThreadPool#21411 ####  Java API * 修复InternalSearchHit#hasSource以返回正确的布尔值#21441(issue:#21419) * 调用sourceRef#21431时,检查源为空(问题:#19279) * ClusterAdminClient.prepareDeletePipeline方法应接受管道ID删除#21228 #### Java REST Client * 休息客户端:不要在多个重试#21378中重复使用相同的HttpAsyncResponseConsumer #### Logging * Assert状态记录器不会在Log4j使用#21339上发出警告 * 修复Netty#21223的记录器名称(问题:#20457) #### Packaging * 在systemd软件包安装#21507上设置vm.max_map_count * 导出SysV init#21445的ES_JVM_OPTIONS(问题:#21255) * Debian:将start-stop-daemon配置为不进入后台#21343(问题:#12716,#21300) * 生成带非通配符的POM文件不包括#21234(问题:#21170) #### Query DSL * 使用rescorer时,应更新最高分数#20977(问题:#20651) #### REST * 路由查询字符串param由mget支持,但是其余的规范#21357缺少 * 修复thread_pool_patterns路径变量定义#21332 * 确保XContentBuilder始终在RestBuilderListener#21124中关闭 ####  Reindex API * 从远程缓冲区的缓冲区到20mb#21222(问题:#21185) * 从<2.0#21070(问题:#21044)修复父/子的远程索引 #### Search * 当搜索#21493(问题:#21457)时修复获取TTL值的可跳转动问题 * 删除LateParsingQuery以防止上下文冻结后的时间戳访问#21328(issue:#21295) #### Snapshot/Restore * 确保在快照过程中清除临时索引*代代码#21469(问题:#21462) * 要求_all#21340(问题:#21335)修复获取快照重复 ## Upgrades ####             Core * 升级到Lucene 6.2.1#21207 ####              Dates * 将Joda时间更新到版本2.9.5#21468(issue:#20911)