There are a few document IDs that were rejected by elasticsearch and were added on the docs.deleted section of es. I have fixed the issue with those document IDs. My logstash is still reading the data and in es, instead of increasing doc count it is increasing the docs.deleted count. I used Curl to check those doc ID and output says {"found":false}.
I need to read those document IDs. Is there any way where i can clear the docs.deleted section?
Given below is a snapshot of my es cat-index:
yellow open posdata 74WTmacrRKeyBXMHuiUxgw 5 1 2172567 122443 3.6gb 3.6gb
How to run a force merge?
What is this Automatic merge?
BTW, I never updated these _ids. They went to docs.deleted because there was some issues with the data and es rejected them. But I have fixed the issue but it still goes to docs.deleted.
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.