# Equivalent for \_search\_shards in transport client

**URL:** <https://discuss.elastic.co/t/equivalent-for--search-shards-in-transport-client/22039>\
**Category:** Elasticsearch\
**Created:** [February 9, 2015, 6:09am UTC](https://discuss.elastic.co/t/equivalent-for--search-shards-in-transport-client/22039 "2015-02-09T06:09:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Puneet\_Jaiswal](https://avatars.discourse-cdn.com/v4/letter/p/ed655f/32.png) [@Puneet\_Jaiswal](https://discuss.elastic.co/u/Puneet_Jaiswal)\
**Post date:** [February 9, 2015, 6:09am UTC](https://discuss.elastic.co/t/equivalent-for--search-shards-in-transport-client/22039/1 "2015-02-09T06:09:51Z")

</div>

I am looking for \_search\_shards equivalent in transport client.

Is there a way to find the following using Transport client in Java?

1. List of all nodes
2. shard details per node

Thanks.

--  
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/1cbba5cd-56b1-4e69-844e-35eef9c0e62f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1cbba5cd-56b1-4e69-844e-35eef9c0e62f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 9, 2015, 6:56am UTC](https://discuss.elastic.co/t/equivalent-for--search-shards-in-transport-client/22039/2 "2015-02-09T06:56:32Z")

</div>

This should help: [https://github.com/elasticsearch/elasticsearch/blob/4ab268bab2cfd7fc3cb4c4808f706d5049c1fae5/src/main/java/org/elasticsearch/rest/action/admin/cluster/shards/RestClusterSearchShardsAction.java#L63](https://github.com/elasticsearch/elasticsearch/blob/4ab268bab2cfd7fc3cb4c4808f706d5049c1fae5/src/main/java/org/elasticsearch/rest/action/admin/cluster/shards/RestClusterSearchShardsAction.java#L63)

David

> Le 9 févr. 2015 à 07:09, Puneet Jaiswal [punit.kj@gmail.com](mailto:punit.kj@gmail.com) a écrit :
> 
> I am looking for \_search\_shards equivalent in transport client.
> 
> Is there a way to find the following using Transport client in Java?
> 
> 1. List of all nodes
> 2. shard details per node
> 
> ## Thanks.
> 
> 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/1cbba5cd-56b1-4e69-844e-35eef9c0e62f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/1cbba5cd-56b1-4e69-844e-35eef9c0e62f%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/E1CCC9DC-32C1-4C6E-A494-46FD8CCDE2F8%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/E1CCC9DC-32C1-4C6E-A494-46FD8CCDE2F8%40pilato.fr).  
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:34am UTC](https://discuss.elastic.co/t/equivalent-for--search-shards-in-transport-client/22039/3 "2017-07-06T00:34:15Z")

</div>


