How do I get a list of closed indexes?


(Alexander Gray II) #1

I posted this question at StackOverFlow without realizing this is probably
the better forum to post ES questions in:

I recently closed an index via the Head plugin in Elasticsearch. I did NOT
delete it.

I want to re-open it, but I forget which index I closed.

How do get a list of all the indexes that are closed?

So far, the best way is, but it seems heavy handed:

curl -XGET http://localhost:9200/_cluster/health

Thanks!

Alex

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e0211fe3-e060-47b9-ae1d-a4116a4763fb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Binh Ly) #2

On ES 1.0, try:

curl "localhost:9200/_cluster/state/blocks?pretty"

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/03f228d6-803b-4076-99ae-b5de7c44234f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Alexander Gray II) #3

Awesome! I was wondering what "blocks" was all about. I saw my closed
index listed there, but wasn't sure if it was the right place.
Thanks!

On Friday, February 21, 2014 11:56:28 AM UTC-5, Binh Ly wrote:

On ES 1.0, try:

curl "localhost:9200/_cluster/state/blocks?pretty"

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/adb48200-359f-4767-bc80-b7cae93cb670%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #4