[NEST] How to map a enum property correctly?

I searched all the day about the correct way to map enum properties to Elasticsearch using Nest. Nothing worked.

I'm using ES 5.1.1. My class is using a public enum, but when I submit the object to ES using Nest, ES store the ingeter representation of my enum.

I looked at official documentation, issue list from github, google... Any ideias?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.