[英]Which version of NEST NuGet package should be used with Elasticsearch 1.x?
We are upgrading Elasticsearch to version 1.1 (from 0.20), and some of the tests fail. 我们正在将Elasticsearch升级到1.1版(从0.20开始),并且一些测试失败了。 We also upgraded NEST Elasticsearch library to the latest stable version (0.12.0).
我们还将NEST Elasticsearch库升级到最新的稳定版本(0.12.0)。 The failure is related to "custom_filters_score" elements being deprecated in ES 0.90 and replaced with "function_score", but NEST 0.12.0 seems to generate JSON with "custom_filter_score", and this is no longer accepted by ES 1.1.
失败与ES 0.90中不推荐使用的“custom_filters_score”元素相关,并替换为“function_score”,但NEST 0.12.0似乎生成带有“custom_filter_score”的JSON,ES 1.1不再接受。
So the question is whether there is a stable NEST release that supports ES 1.x function scores or we will have to upgrade to NEST 1.0 beta. 所以问题是是否有稳定的NEST版本支持ES 1.x功能分数,或者我们将不得不升级到NEST 1.0 beta。
NEST 1.0 beta 1
is the latest prerelease version hosted on nuget.org NEST 1.0 beta 1
是nuget.org上托管的最新预发布版本
We host continuous builds on https://www.myget.org/gallery/elasticsearch-net that gets published based on every commit to the develop
branch that passes all the unit tests. 我们在https://www.myget.org/gallery/elasticsearch-net上持续构建,这些构建基于对通过所有单元测试的
develop
分支的每次提交而发布。
We are very very close (mid july) to delivering a stable NEST 1.0 version to nuget.org that works against any 1.0+ version of elasticsearch: 我们非常接近(7月中旬)向nuget.org提供稳定的NEST 1.0版本,该版本适用于任何1.0+版本的elasticsearch:
https://github.com/elasticsearch/elasticsearch-net/pull/751 https://github.com/elasticsearch/elasticsearch-net/pull/751
If at all possible I would move to the continuous builds, a lot of significant changes have been pushed since the NEST 1.0 beta 1
release. 如果可能的话,我会转向连续构建,自
NEST 1.0 beta 1
发布以来,已经推出了许多重大变化。
The documentation for the breaking changes is moving from NEST 0.12
to the 1.0 beta 1
release. 突破性变化的文档正在从
NEST 0.12
到1.0 beta 1
版本。 Part of our final release schedule will be to fully document going from NEST 0.12
to NEST 1.0
我们的最终发布时间表的一部分将是完整记录从
NEST 0.12
到NEST 1.0
http://nest.azurewebsites.net/breaking-changes.html http://nest.azurewebsites.net/breaking-changes.html
Another great resource to take into consideration is elasticsearch's own breaking changes page: 另一个需要考虑的重要资源是elasticsearch自己的重大变更页面:
http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/breaking-changes.html http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/breaking-changes.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.