I have used elastic 1.7 before. After migration to 2.0 I have faced with several issues (here are those I am most focus currently): mapping attributes, json serialization.
I have used next attributes I can't find in 2.0 version - ElasticPropertywith property Name, Boost, OptOut .
I can't find replacement for settitgs.SetJsonSerializerSettingsModifier(x => x.DateParseHandling = DateParseHandling.DateTimeOffset) in new api.
The only useful document I found is breaking changes. Sadly, but nest examples are outdated. Possible I have missed something easy, please point me in right direction.
Edit
So, Name, Boost are part of String attribute
Ad1.
This part has been refactored and right now you can't use
ElasticProperty. It has been replaced with bunch of new attributes(as described in breaking changes notes)For example
it's equivalent to
etc.
Ad2.
You can modify your serialization settings by passing custom
JsonNetSerializertoConnectionSettings, just like this:More details here and here.
I hope it's gonna make your migration easier :)