Close leaves them on disk but removes them from being queried, which also
means it takes barely any heap to maintain.
It might be useful if you have lots of disk space but not much heap, it
just means you have to manually open them when you want to query them.

On 4 May 2015 at 20:01, Rubén Ortiz <[email protected]> wrote:

> Hi
>
> I'm learning how to maintain clean my ES and I found this article today
>
>
> http://www.elastic.co/guide/en/elasticsearch/client/curator/current/examples.html
>
> The first example is "Delete all indices older than". I've installed
> curator tool to execute the command:
>
> *# curator delete indices --older-than 14 --time-unit days --timestring
> '%Y.%m.%d'*
> 2015-05-04 11:50:49,600 INFO      Job starting: delete indices
> 2015-05-04 11:50:49,613 INFO      Pruning Kibana-related indices to
> prevent accidental deletion.
> 2015-05-04 11:50:50,046 INFO      Job completed successfully.
>
> then I've checked again my index and the index called
> "logstash-2015.04.19" have disappeared. So, turns out it really remove all
> index and the documents but then... What is difference with "close indices"?
>
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/01b265a5-e482-44ce-b0e6-6489f1ad4e1d%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/01b265a5-e482-44ce-b0e6-6489f1ad4e1d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAEYi1X-2DNU4FUbj_PPLy-4h%3DrLVi%3DJcK-WDBLTZmOzumYdLcA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to