问题
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