上QQ阅读APP看书,第一时间看更新
How it works...
The rolling index is a special alias that manages the auto-creation of new indices when one of the conditions is matched.
This is a very convenient functionality because it is completely managed by Elasticsearch, reducing the need for a lot of custom backend user code.
The information for creating the new index is taken from the source, but you can also apply custom settings at the creation of the index.
The naming convention is managed by Elasticsearch, which automatically increments the numeric part of the index name (by default, it uses six ending digits).