I have a Dictionary<string, object>
which is being inserted into ElasticSearch 2.0 using NEST 2.0 library.
The default document name is Dictionary'2
. I don't know why NEST choose this name but I'd like to have something more sensible like "DataRecord
"
How can I set the document name?
Second option would be to create an empty wrapper class but it seems a little bit overkill