elasticsearch/elasticsearch-net — pull request #1077 by anshudutta (2014-11-27 06:19:13+00:00)
Title: Fixed the syntax of QueryRaw as it didn't work

//When I try this
var response = client.Search(func);

//This worked if the definition of func was
Func, SearchDescriptor> func = s => s
.AllTypes()
.From(0)
.Size(5)
.QueryRaw(@"{""match_all"": {} }")
;

//This didn't work if the definition of func was
Func, SearchDescriptor> func = s => s
.AllTypes()
.From(0)
.Size(10)
.QueryRaw("\"match_all\" : { }")
);