# Difference between index

**URL:** https://discuss.elastic.co/t/difference-between-index/22788
**Category:** Elasticsearch
**Created:** [March 21, 2015, 1:37am UTC](https://discuss.elastic.co/t/difference-between-index/22788 "2015-03-21T01:37:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Sagar\_Shah](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@Sagar\_Shah](https://discuss.elastic.co/u/Sagar_Shah)
#### Post date: [March 21, 2015, 1:37am UTC](https://discuss.elastic.co/t/difference-between-index/22788/1 "2015-03-21T01:37:17Z")

</div>

Hello everyone,  
I am looking at stats of my index created for an application. Index has  
been created with 5 shards and 0 replicas.

I am not sure what is the difference between following?

What does \*"count": 1260748 \*represent? and what does _"index\_total":  
498044_ represent?

I see total records count _498044_ with search API. But I am not getting  
what does "count" indicate under "docs" element in below stats response?

Can anyone please suggest where I can find more details on explanation of  
stats elements?

{  
"\_shards":  
{  
"total": 10,  
"successful": 5,  
"failed": 0  
},  
"\_all":  
{  
"primaries":  
{  
"docs":  
{  
\* "count": 1260748,\*  
"deleted": 0  
},  
"store":  
{  
"size\_in\_bytes": 119431308,  
"throttle\_time\_in\_millis": 110867  
},  
"indexing":  
{  
\* "index\_total": 498044,\*  
"index\_time\_in\_millis": 132353,  
"index\_current": 7,  
"delete\_total": 0,  
"delete\_time\_in\_millis": 0,  
"delete\_current": 0,  
"noop\_update\_total": 0,  
"is\_throttled": false,  
"throttle\_time\_in\_millis": 0  
},  
....  
....

Appreciate your inputs!

Regards,  
Sagar Shah

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![Jason\_Wee](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@Jason\_Wee](https://discuss.elastic.co/u/Jason_Wee)
#### Post date: [March 21, 2015, 11:34pm UTC](https://discuss.elastic.co/t/difference-between-index/22788/2 "2015-03-21T23:34:51Z")

</div>

If it is not in the documentation or asked in mailing list, then you  
will have to read into the code.

Jason

On Sat, Mar 21, 2015 at 9:37 AM, Sagar Shah [sagarshah1983@gmail.com](mailto:sagarshah1983@gmail.com) wrote:

> Hello everyone,  
> I am looking at stats of my index created for an application. Index has been  
> created with 5 shards and 0 replicas.
> 
> I am not sure what is the difference between following?
> 
> What does "count": 1260748 represent? and what does "index\_total": 498044  
> represent?
> 
> I see total records count 498044 with search API. But I am not getting what  
> does "count" indicate under "docs" element in below stats response?
> 
> Can anyone please suggest where I can find more details on explanation of  
> stats elements?
> 
> {  
> "\_shards":  
> {  
> "total": 10,  
> "successful": 5,  
> "failed": 0  
> },  
> "\_all":  
> {  
> "primaries":  
> {  
> "docs":  
> {  
> "count": 1260748,  
> "deleted": 0  
> },  
> "store":  
> {  
> "size\_in\_bytes": 119431308,  
> "throttle\_time\_in\_millis": 110867  
> },  
> "indexing":  
> {  
> "index\_total": 498044,  
> "index\_time\_in\_millis": 132353,  
> "index\_current": 7,  
> "delete\_total": 0,  
> "delete\_time\_in\_millis": 0,  
> "delete\_current": 0,  
> "noop\_update\_total": 0,  
> "is\_throttled": false,  
> "throttle\_time\_in\_millis": 0  
> },  
> ....  
> ....
> 
> Appreciate your inputs!
> 
> Regards,  
> Sagar Shah
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAHO4itwM6M5-6r%3DeSSpAtr7%3DO2cx3wL-\_BWVyvvRQg-1A9atJw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAHO4itwM6M5-6r%3DeSSpAtr7%3DO2cx3wL-_BWVyvvRQg-1A9atJw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:25am UTC](https://discuss.elastic.co/t/difference-between-index/22788/3 "2017-07-06T00:25:10Z")

</div>


