ongr-io / ElasticsearchBundle

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

Fix index configuration #897

Closed wasinger closed 4 years ago

wasinger commented 4 years ago

Added useAttributeAsKey config option to the indexes configuration array. Without this option, the configuration array was not built correctly when multiple indexes are given: Only in the first entry the index name was used as key but for the following entries numeric indices where used and so the config was not found in IndexService. This commit fixes this problem.