Lost data:The successfully written data is missing

Docker 7.16.2 official image
I successfully wrote 177393 pieces of data, each of which returned: {"total": 1, "successful": 1, "failed": 0}, but passed
http://127.0.0.1:9200/_cat/indices?v
See docs The count is 147840. After test and verification, the data is lost
Is this a bug?

Welcome to our community! :smiley:

How are you writing the data to Elasticsearch?

var option = {hostname: '127.0.0.1',
port: 9200,
path: '/cve_index/cve/' + id,
method: 'POST',
headers: {
'Content-Type': 'application/json;charset=UTF-8',
'Connection': 'close',
'Content-Length': oData.length
}};

I'm not sure what that is sorry.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.