-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
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
php Notice in \Elastica\Index::getAliases() #1078
Comments
+1 Came to report this issue, but saw it's already here. |
I think it is not about "If es index has no alias", it is about - "if there is no index with this name in ES". Question is what to do in this case. Throw something like MissingIndexException, or just return empty array. Like this index haven't aliases. |
@aeytom Does this happen if you use an Alias name to create the index object and then use getAliases()? |
+1 |
Fixed in #1080 |
If es index has no alias a php notice occurs (missing array index)
Line 437:
$data = $responseData[$this->getName()];
Es 2.3.1
Elastica 3.1.1
The text was updated successfully, but these errors were encountered: