Difference between index

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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 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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/cb73b7db-9c6e-46ff-b729-9cd2dc3ad658%40googlegroups.com.
For more options, visit 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.
To view this discussion on the web visit 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.