Index Type Stats

Hi,

I am wondering if I can get some stats on a type level using NEST/ElasticSearch.Net or simply using ElasticSearch REST API?
We are using ES 2.3.2 and we need get type level stats to do some analysis.

Thanks,

Yifei

Hello,

By type do you mean index types? If so, you can run the _stats command on your index with the given types as filters, like:

curl -XGET 'localhost:9200/my_index/_stats?types=type1,type2

Thank you Ali,

This is helpful.