NEST to ElasticSearch.net migration issue with DeleteMany

I have an issue while migrating the code from NEST to ES client 8.14.
I have a list of ids, that I would want to delete.

I tried the following, but it doesn't work as it doesn't accept ids as a parameter for the DeleteMany method.

var result = await elasticsearchClient.BulkAsync(s => s.DeleteMany<Model>(Ids).Index(IndexName));

Can anyone help on this?

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