Raw Query in Nest C#

string query = @"
	{
		""size"" : 0,
		""aggs"" : {
			""words"" : {
				""terms"" : { 
					""field"" : ""bodyContent"" ,
					""size"" : 80,
					""exclude"" : [""is"",""an"" ]
				}
			}
		}
	}";


	client.LowLevel.Search<string>(query);

above line getting error.

Please need your help
Thanks

What's the error? The string generic parameter should be StringResponse or a type that implements IElasticsearchResponse

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.