ongr-io / ElasticsearchBundle

Symfony bundle for Elasticsearch with steroids
MIT License
313 stars 189 forks source link

How to set dynamic custom index name #951

Closed dimadeush closed 4 years ago

dimadeush commented 4 years ago

I need to set new index every day f.e. index_2020_06_12. How to do it using this bundle? Thanks in Advance

einorler commented 4 years ago

Hi, there is a --time option that can be provided to ongr:es:index:create command. Read more here: http://docs.ongr.io/ElasticsearchBundle/commands