Hi,
Is there a way to read number of documents that are marked for delete in an index as Java APIs.?
stats gives below ->
},
"all": {
"primaries": {
"docs": {
"count": 11,
"deleted": 2
},
"store": {
"size_in_bytes": 61138,
"throttle_time_in_millis": 0
},
"indexing": {
"index_total": 13,
"index_time_in_millis": 482,
"index_current": 0,
"index_failed": 7,
**"delete_total": 0,**
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
I want to read deleted and deleted_total from the above in JAVA API.
I have tried ClusterAdminClient and IndicesAdminClient but they dont provide any such api to read mark for deleted document count from stats.
Thanks,
RAH