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
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.