Is it possible to get the raw search query from the NEST client?
var result = client.Search(s => s
Before making Request, from Nest Query - For Nest 5.3.0 :
var stream = new System.IO.MemoryStream(); elasticClient.Serializer.Serialize(query, stream ); var jsonQuery = System.Text.Encoding.UTF8.GetString(stream.ToArray());