# Shards and documents information

**URL:** <https://discuss.elastic.co/t/shards-and-documents-information/23696>\
**Category:** Elasticsearch\
**Created:** [May 27, 2015, 12:52pm UTC](https://discuss.elastic.co/t/shards-and-documents-information/23696 "2015-05-27T12:52:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrasacer](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@terrasacer](https://discuss.elastic.co/u/terrasacer)\
**Post date:** [May 27, 2015, 12:52pm UTC](https://discuss.elastic.co/t/shards-and-documents-information/23696/1 "2015-05-27T12:52:15Z")

</div>

Hi everyone,

I want to know how many documents in a shard.

For example, I was created the index with the default configuration. How  
many document of number 0 shard?

Similarly, how do I know which shard document?

Thanks.

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/5d455c6a-17e8-4379-8f9e-bde68bb67a84%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5d455c6a-17e8-4379-8f9e-bde68bb67a84%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [May 27, 2015, 1:01pm UTC](https://discuss.elastic.co/t/shards-and-documents-information/23696/2 "2015-05-27T13:01:38Z")

</div>

First, you should head over to [http://discuss.elastic.co/](http://discuss.elastic.co/) for stuff like  
this in the future - this mailing list is deprecated.

On Wed, May 27, 2015 at 8:52 AM, Terra Sacer [terrasacer@gmail.com](mailto:terrasacer@gmail.com) wrote:

> Hi everyone,
> 
> I want to know how many documents in a shard.

> For example, I was created the index with the default configuration. How  
> many document of number 0 shard?

Have a look at the \_cat api. I think that has what you want.

> Similarly, how do I know which shard document?

I don't know the answer to this - ask it on [http://discuss.elastic.co/](http://discuss.elastic.co/) I  
think if your best bet.

Nik

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/CAPmjWd1eETWF9uD\_QxMV8e8oMhg%2BXqxW8OcX3XjrQ28z3kgFzA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1eETWF9uD_QxMV8e8oMhg%2BXqxW8OcX3XjrQ28z3kgFzA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![terrasacer](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@terrasacer](https://discuss.elastic.co/u/terrasacer)\
**Post date:** [May 27, 2015, 2:26pm UTC](https://discuss.elastic.co/t/shards-and-documents-information/23696/3 "2015-05-27T14:26:52Z")

</div>

Thank you Nikolas for your answer.

On Wednesday, May 27, 2015 at 4:02:24 PM UTC+3, Nikolas Everett wrote:

> First, you should head over to [http://discuss.elastic.co/](http://discuss.elastic.co/) for stuff like  
> this in the future - this mailing list is deprecated.
> 
> On Wed, May 27, 2015 at 8:52 AM, Terra Sacer \<[terra...@gmail.com](mailto:terra...@gmail.com)  
> \<javascript:\>\> wrote:
> 
> > Hi everyone,
> > 
> > I want to know how many documents in a shard.
> 
> > For example, I was created the index with the default configuration. How  
> > many document of number 0 shard?
> 
> Have a look at the \_cat api. I think that has what you want.
> 
> > Similarly, how do I know which shard document?
> 
> I don't know the answer to this - ask it on [http://discuss.elastic.co/](http://discuss.elastic.co/) I  
> think if your best bet.
> 
> Nik

## -- Please update your bookmarks! We have moved to [https://discuss.elastic.co/](https://discuss.elastic.co/)

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/eea69fb3-bcf2-425e-91c2-de079810ee63%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eea69fb3-bcf2-425e-91c2-de079810ee63%40googlegroups.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:11am UTC](https://discuss.elastic.co/t/shards-and-documents-information/23696/4 "2017-07-06T00:11:36Z")

</div>


