0

I am trying to delete multiple documents from one types at a time, this is my code.

var ids = new List<Int64> { 1, 2, 3 };
            var bulkResponse = Client.DeleteMany<Demo>(ids.Select(x => new Demo { EmpId = x }));

while i am executing this code the code will run fine but it doesn't do any effect in elasticsearch database.

It is showing following message while debugging (in watch window) : {Invalid NEST response built from a unsuccessful low level call on POST: /_bulk} Nest.IBulkResponse {Nest.BulkResponse}

Unknown_Coder
  • 764
  • 6
  • 24

0 Answers0