# List of all indices using the ElasticSeach Java API with Jest

**URL:** https://discuss.elastic.co/t/list-of-all-indices-using-the-elasticseach-java-api-with-jest/17198
**Category:** Elasticsearch
**Created:** [April 25, 2014, 12:49pm UTC](https://discuss.elastic.co/t/list-of-all-indices-using-the-elasticseach-java-api-with-jest/17198 "2014-04-25T12:49:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bluestockings](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bluestockings/32/1616_2.png) [@bluestockings](https://discuss.elastic.co/u/bluestockings)
#### Post date: [April 25, 2014, 12:49pm UTC](https://discuss.elastic.co/t/list-of-all-indices-using-the-elasticseach-java-api-with-jest/17198/1 "2014-04-25T12:49:22Z")

</div>

Hej,

I'm just working with ElasticSearch for a week now, and I seem unable to retrieve a list of all existing indices as Strings using the Java API.  
Could someone give me a hint or point out a good documentation to that?

Greetings  
Christina

---

<div class="post-metadata">

### Author: ![R\_Toma](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@R\_Toma](https://discuss.elastic.co/u/R_Toma)
#### Post date: [April 25, 2014, 6:06pm UTC](https://discuss.elastic.co/t/list-of-all-indices-using-the-elasticseach-java-api-with-jest/17198/2 "2014-04-25T18:06:38Z")

</div>

Hi,  
I do not know Jest, but if you can call the 'aliases' api you get a list of indices/aliases.  
Regards,  
Renzo

--  
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/ca1e4bfa-4547-492d-993c-fffcd45e16b1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ca1e4bfa-4547-492d-993c-fffcd45e16b1%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, 1:33am UTC](https://discuss.elastic.co/t/list-of-all-indices-using-the-elasticseach-java-api-with-jest/17198/3 "2017-07-06T01:33:29Z")

</div>


