I am trying to find a way to determine how fast or if all documents are getting indexed timely. I checked the previous days index ---
GET indexname-2017.12.27/_stats
and noticed that
docs": {
"count": 19695896,
Is much higher than
"index_total": 11819794,
(no deletes)
It seems then there are ~8m docs that didn't get indexed. Anything I am missing anything here?
The doc.count represents the number of documents indexed in your index while index_total stands for number of indexing operations performed during elasticsearch uptime.
So if you update a document it will count as an indexing operation but your doc.count won't increase. Please, look at this example where I indexed 2 documents and updated 2 documents:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.