"docs" number in Elasticsearch head

Hi,
I am running a python script that repetitively build the index. Before building the new index, I will delete the old index first with some filter criteria (by month id). I am using function delete_by_query.

tableName = "ds_item"
body = {
    "query": {
        "match": {
            "pkey": monthId
        }            
    }    
}

elasticsearch.delete_by_query(index=indexName, doc_type=tableName, body=body)

After running the script, I check the "docs" showed in the elasticsearch head. The figure in the bracket always show double of the figure outside the bracket.
does anyone know what is the docs number (in bracket) mean?

That'd be the replicated count.

I see. So, it depends on the number_of_replicas of the index.

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