This is because when using Elasticsearch.NET, specifying the type like that is actually specifying what type the expected response should be serialized into, rather than the type of object you're sending to Elasticsearch.
Drop the type completely and client.Index should return a ElasticsearchResponse<DynamicDictionary> object type. See this link for details: http://nest.azurewebsites.net/elasticsearch-net/handling-responses.html Hope this helps. -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Elasticsearch-Net-strange-deserialization-after-Index-tp4063585p4065770.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1415226350938-4065770.post%40n3.nabble.com. For more options, visit https://groups.google.com/d/optout.