FOSElasticaBundle
FOSElasticaBundle copied to clipboard
How to define multiple template patterns for an index template?
Hi,
I've following this doc to create an index template: https://github.com/FriendsOfSymfony/FOSElasticaBundle/blob/master/doc/templates.md#index-templates
It gives template: some_index_* as an example pattern and refers to the official documentation:
https://www.elastic.co/guide/en/elasticsearch/reference/6.6/indices-templates.html#indices-templates
But in the official documentation, I see that we can define an array of patterns:
"index_patterns": ["te*", "bar*"],
Is it possible to apply a template using multiple patterns and then how? If not, how could I manually apply a given template to multiple indexes?
Thank you!
Any update ? I agree with @benjamintoussaint this doesn't work.