We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
must patch IndexBuilder.php~
*** jolicode/elastically/src/IndexBuilder.php~ 2022-11-07 04:22:55.000000000 +0800 --- jolicode/elastically/src/IndexBuilder.php 2022-11-07 04:24:35.888045057 +0800 *************** *** 64,70 **** $data = ['actions' => []]; ! $data['actions'][] = ['remove' => ['index' => '*', 'alias' => $indexName]]; $data['actions'][] = ['add' => ['index' => $index->getName(), 'alias' => $indexName]]; var_dump(json_encode($data)); return $this->client->request('_aliases', Request::POST, $data); --- 64,70 ---- $data = ['actions' => []]; ! $data['actions'][] = ['remove' => ['index' => $indexName . '*', 'alias' => $indexName]]; $data['actions'][] = ['add' => ['index' => $index->getName(), 'alias' => $indexName]]; var_dump(json_encode($data)); return $this->client->request('_aliases', Request::POST, $data);
The text was updated successfully, but these errors were encountered:
Hello,
Would you mind to submit a patch?
Thanks
Sorry, something went wrong.
diff --git a/src/IndexBuilder.php b/src/IndexBuilder.php index 33a461d..8b8af56 100644 --- a/src/IndexBuilder.php +++ b/src/IndexBuilder.php @@ -54,7 +54,7 @@ class IndexBuilder $data = ['actions' => []]; - $data['actions'][] = ['remove' => ['index' => '*', 'alias' => $indexName]]; + $data['actions'][] = ['remove' => ['index' => $indexName . '*', 'alias' => $indexName]]; $data['actions'][] = ['add' => ['index' => $index->getName(), 'alias' => $indexName]]; return $this->client->request('_aliases', Request::POST, $data);
fix jolicode#122 unallowed indices for user with opensearch
f5db3e8
fix(opensearch): Fix unallowed indices lookup for user with opensearch (
0f09587
#123) Refs: #122
No branches or pull requests
must patch IndexBuilder.php~
The text was updated successfully, but these errors were encountered: