I had noticed this in my setup and problem turned out that I was inserting records with duplicate ids.
I was not noticing numbers jump up and down though, and total of numdocs and deleted docs was equal to the number of docs that i had inserted...
Sent: 28/10/2011, 12:35 am
Subject: max_doc, deleted_docs and size number jump up and down
We are having a process feeding the logs into our ES server (single
node, 5 shards, vanilla setup). One thing puzzles us is that the
max_doc, deleted_docs and size number are jumping up and down in "ES
head" (by >1000 documents).
The num_docs appears OK though, and we are pretty sure no delete
operation is there.
Is this expected? What is the reason?
Thanks and regards,