Shards and documents information

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Shards and documents information

Terra Sacer
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/
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5d455c6a-17e8-4379-8f9e-bde68bb67a84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Shards and documents information

Nikolas Everett
First, you should head over to 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 <[hidden email]> 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/ I think if your best bet.

Nik

--
Please update your bookmarks! We have moved to 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd1eETWF9uD_QxMV8e8oMhg%2BXqxW8OcX3XjrQ28z3kgFzA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Shards and documents information

Terra Sacer
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 <a href="http://discuss.elastic.co/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.elastic.co%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFSwtl25dZZFZFCTDTbtpsoKcN3kg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.elastic.co%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFSwtl25dZZFZFCTDTbtpsoKcN3kg';return true;">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 <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_I5VORTUJi0J" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">terra...@...> 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 <a href="http://discuss.elastic.co/" target="_blank" rel="nofollow" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.elastic.co%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFSwtl25dZZFZFCTDTbtpsoKcN3kg';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fdiscuss.elastic.co%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFSwtl25dZZFZFCTDTbtpsoKcN3kg';return true;">http://discuss.elastic.co/ I think if your best bet.

Nik

--
Please update your bookmarks! We have moved to 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/eea69fb3-bcf2-425e-91c2-de079810ee63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.