# Can I use index stats to measure my application performance?

**URL:** <https://discuss.elastic.co/t/can-i-use-index-stats-to-measure-my-application-performance/60289>\
**Category:** Elasticsearch\
**Created:** [September 12, 2016, 12:15pm UTC](https://discuss.elastic.co/t/can-i-use-index-stats-to-measure-my-application-performance/60289 "2016-09-12T12:15:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcortinas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcortinas/32/3859_2.png) [@mcortinas](https://discuss.elastic.co/u/mcortinas)\
**Post date:** [September 12, 2016, 12:15pm UTC](https://discuss.elastic.co/t/can-i-use-index-stats-to-measure-my-application-performance/60289/1 "2016-09-12T12:15:23Z")

</div>

My current cluster is running on ES 1.7.3 with several nodes. I use only 2 shards for index.  
Every week I move the 2 shards of my index to another nodes and the search query\_time\_in\_millis decrease too much p.e.: 800ms to 40ms.

Why this stats decrease so much after relocate the 2 shards?

I'm not sure if this stat is trustly, my java application who use this Elasticsearch cluster has not logs to measure this byh now.  
Can I use this metric to measure my application performance?

For other side, I try to look for the documentation about this measure descrition (search - query\_time\_in\_millis in INDEX api) but today i'm not a lucky man.  
Could you share me the documentation link?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:21pm UTC](https://discuss.elastic.co/t/can-i-use-index-stats-to-measure-my-application-performance/60289/2 "2017-07-05T22:21:06Z")

</div>


