Hi, Calling optimize manually is indeed highly discouraged in general.
The only time when you might want to run optimize manually is on read-only indices. For example it happens frequently when managing time-based indices, eg. once index per day: only one index is going to get writes and the other ones are read-only, so they can be safely optimized. On Fri, Feb 14, 2014 at 4:28 PM, Rafael Almeida <[email protected]>wrote: > Hello, > > I want to know when and if I should manually call optimize on > elasticsearch. This blog seems to say it's a bad idea: > > > http://gibrown.wordpress.com/2013/01/24/elasticsearch-five-things-i-was-doing-wrong/ > > However, there must be a reason for optimize to be exposed in the rest api. > > []'s > Rafael > > -- > 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/CAKCnWVm9GTpo%2B79uCCfgfr9Tej98M5UyiB02BDTJ-8EJyMv%3Djg%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- Adrien Grand -- 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/CAL6Z4j6Q-Lxe0_sfo%3DBudmyfBG4BJj3rVb-ZYv0CCTHF4Y6FZQ%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
