Re: Elasticsearch.Net, strange deserialization after .Index

2014-11-07 Thread scamire
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

Re: Elasticsearch.Net, strange deserialization after .Index

2014-09-29 Thread Itamar Syn-Hershko
This is probably a bug of the .NET client API, and you should log it on github where they monitor issues for it You might find this alternative library useful: https://github.com/synhershko/NElasticsearch available from nuget as well https://www.nuget.org/packages/NElasticsearch/ -- Itamar

Elasticsearch.Net, strange deserialization after .Index

2014-09-16 Thread Lasse Schou
Hi, (let me know if this is not the right place to post ElasticSearch.Net questions). I'm indexing a document of type User through ElasticSearch.Net with this command (key is a string guid): client.IndexUser(index, user, key, user); This invokes the serializer and stores the json in my ES