Sorry. I have been looking across different indexes - my appology.
We have a tool called es2unix[1] which has a shards command for quick
visualization of this type of data. Example from my laptop:
% curl -O download.elasticsearch.org/es2unix/es; chmod +x es
% ./es shards
wiki 0 p STARTED 1160290 7.2gb 7776371641 127.0.0.1 Feline
wiki 0 r STARTED 1160290 7.2gb 7776371602 127.0.0.1 Amphibius
wiki 0 r STARTED 1160290 7.2gb 7776371602 127.0.0.1 Jenkins, Abner
wiki 1 r STARTED 1159509 7.5gb 8116295811 127.0.0.1 Feline
wiki 1 p STARTED 1159509 7.5gb 8116295811 127.0.0.1 Amphibius
wiki 1 r STARTED 1159509 7.5gb 8116295811 127.0.0.1 Jenkins, Abner
foo 0 r STARTED 0 79b 79 127.0.0.1 Amphibius
foo 0 p STARTED 0 99b 99 127.0.0.1 Jenkins, Abner
foo 1 p STARTED 0 99b 99 127.0.0.1 Feline
foo 1 r STARTED 0 79b 79 127.0.0.1 Amphibius
You can quickly tell that all the shards belong to the wiki index.
If you just want the primaries that belong to foo:
% ./es shards fo | fgrep ' p '
foo 0 p STARTED 0 99b 99 127.0.0.1 Jenkins, Abner
foo 1 p STARTED 0 99b 99 127.0.0.1 Feline
Sometimes this is nicer than a graphical tool, especially over ssh.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.