Optimize indices

Hi All,

We are indexing streaming data into ES. I would like to know about the
ideal optimize strategy for our usecase. Also, we have required to delete
historical indices and index mapping. As we will delete the indices and
index mapping, the disk space will free only after running the optimize
command.

Please suggest an ideal optimize approach?

Thanks,
Ankit Jain

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

True if you delete mapping. Wrong if you delete index.

Delete the full index if you can. It is really really faster than deleting a mapping (means deleting all docs for this type). Basically, it's a rm -rf on each node which is extremly fast and frees your disk space immediatly.

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 17 juin 2013 à 07:48, Ankit Jain ankitjaincs06@gmail.com a écrit :

Hi All,

We are indexing streaming data into ES. I would like to know about the ideal optimize strategy for our usecase. Also, we have required to delete historical indices and index mapping. As we will delete the indices and index mapping, the disk space will free only after running the optimize command.

Please suggest an ideal optimize approach?

Thanks,
Ankit Jain

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.
For more options, visit https://groups.google.com/groups/opt_out.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.