I was using nest dll of version 0.11.4.0. But I updated it with version of 1.7.1. Problem statement is - I am sending raw query string with code given below -
var connectionstatus = elasticClient.Raw.SearchPost(index, index, rawquery);
IQueryResponse response= elasticClient.ToParsedResponse<QueryResponse>(connectionstatus);
But after updation of nest dll ,this code is giving error.
raw query is -
string rawquery = @" {
""size"": 999,
""query"": {
""filtered"": {
""query"": {
""query_string"": {
""fields"": [
""SearchTags""
,""checklistId""],"
+ chkId +
","default_operator":" + ""AND"" +
"}}" +
","filter":" + "{" +
""geo_distance":" + "{"
+ distance +
"," +
""geolocation"" + ": {" +
latitude + "," +
longitude +
"}" +
"}" +
"}" +
"}" +
"}" +
"}";