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: https://github.com/schranz-search/schranz-search/blob/efa54fa69471f0afdb81740689afbe40f9f98865/packages/seal/src/Schema/Loader/PhpFileLoader.php#L65-L67 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: https://github.com/schranz-search/schranz-search/blob/efa54fa69471f0afdb81740689afbe40f9f98865/packages/seal/src/Schema/Loader/PhpFileLoader.php#L65-L67
Which misses maybe something like this: