简体   繁体   English

Elasticsearch 1.x应该使用哪个版本的NEST NuGet包?

[英]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.121.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.12NEST 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.

相关问题 使用NET Standard 1.X的Nuget包 - Nuget package with NET Standard 1.X 在ElasticSearch 2.x版中扫描和滚动替换(NEST C#) - Scan and Scroll Substitute in ElasticSearch version 2.x (NEST C#) 用于机器人框架版本 4 C# 的自适应卡片 nuget 包 - Adaptive Cards nuget package to be used for bot frameworks version 4 C# 有没有办法确定 NuGet 包针对的是哪个版本的 .Netstandard? - Is there a way to determine which version of .Netstandard is targeted by a NuGet package? 设置Nuget软件包版本 - Setting Nuget package version 如何使用 ElasticSearch Nest 版本 7.x 创建 IndexTemplate - How do I create an IndexTemplate using ElasticSearch Nest Version 7.x 可以在使用旧版本 c# 的项目中使用使用较新版本 c# 构建的 NuGet 包吗? - Can a NuGet package built with a newer version of c# be used in a project using an older version of c#? SignalR背板无法使用1.x版创建表 - SignalR Backplane not creating tables with version 1.x 如何使用集中管理的 Nuget package 版本仅针对 nuget package 的 x64 版本? - How do I target only the x64 version of a nuget package using centrally managed Nuget package versions? 为什么.net对于相同的nuget包显示版本冲突,而该nuget包是第三方库/包的内部依赖项? - Why .net shows version conflict for same nuget package which is internal dependency for 3rd party library/package?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM