Elastic Ingestion problem

Hi,
I have a problem about ingestion process in elasticsearch.
I use a Java program to ingest some documents in elasticsearch using HTTP node as a claster entry (I send request to an HTTP node).

I have noticed that the process of ingest increase the number of docs.count and the number of docs.deleted at the same time

Is it normal?

After that I have also noticed that if I send a normal request to insert a doc using another method (for example a GET request with Postman) the docs.deleted number become zero

Thank you for the support

Welcome!

If you are updating existing documents (with the same id), then I'd expect to see deletes happening indeed as an update is a delete plus an insert.

Thank you for the answer....
I ask developer about requests used and I will give you more information