Nest Bulk Delete With Retry and Size Like BulkAllObservable

Hello, I am trying to delete using the bulk api and DeleteMany method (using NEST) something like this
var response = _elasticClient.Bulk(b => b
.DeleteMany(products)

but i want to add retry and size to divide in chunks and no overload the bulk api something similar to BulkAll. Is that posiible?

var bulkAllObservable = client.BulkAll(people, b => b
.Index("people")
.BackOffTime("30s")
.BackOffRetries(2)
.RefreshOnCompleted()
.MaxDegreeOfParallelism(Environment.ProcessorCount)
.Size(1000)
)

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