【发布时间】:2016-03-31 03:19:20
【问题描述】:
我有一个使用 NEST 1.0 和 ElasticSearch 1.0 的 WebAPI C# 项目
现在我移到了 NEST 2.0 和 ElasticSearch 2.0,它不再编译了
ElasticType 已被 ElasticsearchType 弃用,没关系
但是,我的 POCO 有很多属性:
[ElasticProperty(Store = false, Index = FieldIndexOption.NotAnalyzed)]
我应该使用新的 NEST 2.0 约定重写它
我该怎么做?
【问题讨论】:
标签: c# .net elasticsearch nest