Meaning of the columns in the output of API: GET _cat/indices?v

Hi teams,

When using the API: GET _cat/indices?v, the output would includes columns here:

health 
status 
index                                                          
uuid                   
pri 
rep 
docs.count 
docs.deleted 
store.size 
pri.store.size 
dataset.size

My questions are:

  1. What is the count of docs can be used to search? Is it equals with docs.count? or equals with the difference result of (docs.count - docs.deleted)?
  2. what is the difference of columns: store.size & pri.store.size & dataset.size? If I want to know the sum size of all searchable docs in one index, can I use "data.size" only? If not, how can I get it?

heartfelt thanks,

Hi @ChatLee

Run GET _cat/indices?help, the response includes help information.

Hi @RabBit_BR
ES would compress the docs when store them into disk, right?
So about the sizes info in the output of GET _cat/indices , does they represent the size before compression?

It is the size they take up in disk, after compression.