elasticsearch - Mapping Nest response to a C# object -
i trying map nest response c# object , having little luck.
my query returns result from
var resp = eclient.search<dynamic>(q => q .type("movies") .from(0) .size(20) .queryraw(querystring));
how can map response c# object? needs dynamic, i.e there arrays wary in length in response.
serialize dynamic object json , deserialize string proper c# object. totally inefficient. why not pass dynamic object around or manual mapping?
Comments
Post a Comment