Skip to content

Parameter index_name_prefix #319

Discussion options

You must be logged in to vote

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:

if (isset($indexes[$name])) {
$index = new Index($this->indexNamePrefix . $name, $this->mergeFields($indexes[$index->name]->fields, $index->fields));
}

Which misses maybe something like this:

                } else {
                    $index = new Index($this->indexNamePrefix . $name, $index->fields);
                }

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dhirtzbruch
Comment options

@alexander-schranz
Comment options

@dhirtzbruch
Comment options

@dhirtzbruch
Comment options

Answer selected by dhirtzbruch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants