弹性搜索和CopyTo [英] Elasticsearch Nest and CopyTo
本文介绍了弹性搜索和CopyTo的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
NEST中基于属性的映射不支持 CopyTo
。您需要使用流畅的API。有关说明,请参阅我的评论此处。
Has anyone located or used a CopyTo attribute in Nest? I can see it's been added as part of the fluent mapping but can't seem to find it as an attribute which is how I am carrying out all my mapping currently.
解决方案
Attribute-based mapping in NEST doesn't support CopyTo
. You need to use the fluent API. See my comment here for an explanation.
这篇关于弹性搜索和CopyTo的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文