Elasticsearch Nest and CopyTo

我怕爱的太早我们不能终老 提交于 2019-12-10 11:34:41

问题


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.


回答1:


Attribute-based mapping in NEST doesn't support CopyTo. You need to use the fluent API. See my comment here for an explanation.



来源:https://stackoverflow.com/questions/26873551/elasticsearch-nest-and-copyto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!