Parameter index_name_prefix
#319
-
Can someone tell me what the Use case would be using the same ElasticSearch cluster for staging / prod environments, and just automatically having the prefix added through the bundle configuration. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
It was created for that usecase, specially running tests in another env with a prefix. But if I look there is currently the prefix only used when there are multiple files. So think there is a bug here: schranz-search/packages/seal/src/Schema/Loader/PhpFileLoader.php Lines 65 to 67 in efa54fa Which misses maybe something like this: } else {
$index = new Index($this->indexNamePrefix . $name, $index->fields);
} |
Beta Was this translation helpful? Give feedback.
It was created for that usecase, specially running tests in another env with a prefix. But if I look there is currently the prefix only used when there are multiple files. So think there is a bug here:
schranz-search/packages/seal/src/Schema/Loader/PhpFileLoader.php
Lines 65 to 67 in efa54fa
Which misses maybe something like this: