ES-Backup -Restore & Open, Close


(senthil prabhu) #1

Hi,
i have two questions.

       1.How to use (Close/Open) API in ES.

               i have executed below queries.
                     curl  -XPOST 'http://localserver:9200/db1/

_close'

                                   AND
                      curl  -XPOST 'http://localserver:9200/db1/

_open'
when i use close query index get lock(No IO operation).
but Open is not working.
how to use open.

      2.How to Backup & restore a Specific index. is there any

API?

Pls Help us


(Shay Banon) #2

When you close an index, it is in a blocked state, and can't be queried.
What do you get when you call _open?

On Thu, Dec 2, 2010 at 11:09 AM, senthil prabhu senthilsebi@gmail.comwrote:

Hi,
i have two questions.

      1.How to use (Close/Open) API in ES.

              i have executed below queries.
                    curl  -XPOST 'http://localserver:9200/db1/

_close'

                                  AND
                     curl  -XPOST 'http://localserver:9200/db1/

_open'
when i use close query index get lock(No IO operation).
but Open is not working.
how to use open.

     2.How to Backup & restore a Specific index. is there any

API?

Pls Help us


(system) #3