Automatic Index creation vs "apriori" Creation

Hi There,

I hope all is going well in the elastic world. Today I was asked what is the advantage between creating indexes upfront and automatic index creation when these indexes are referred to a timestamp. For instance, if elastic is storing documents in daily indexes (yyyy-mm-dd) and each of these store documents by the second. The only argument I could think off, is that creating the index beforehand it helps to ensure that the index is ready to store documents and when creating indexes of the fly, the risk could be that the index might not be available immediately for writing which could affect the performance of the application pushing data into elastic.

Is there any document or best practice regarding this matter?

Thanks in advance,


Any delays are minimal. It's not worth the hassle of having to manage creation ahead of time.

Thanks @warkolm

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.