Hey there,
Possibly i'm not writing the correct code, but I have a query I use to get docs using Search, and the same query doesn't work for DeleteByQuery.
Works:
var results = client.Search<JObject>(s => s.Query(q => q.Terms("string.ProgramId", ids))
Doesn't work:
var response = client.DeleteByQuery<string>(s => s.Query(q => q.Terms("string.ProgramId", ids)));
The error i'm getting is:
Could not dispatch IElasticClient.DeleteByQuery() into any of the following paths:
- /{index}/_query
- /{index}/{type}/_query
Any ideas on what I'm doing wrong?
Thanks!