Skip to content

Conversation

alexey-ivanov-es
Copy link
Contributor

No description provided.

…for each original index expression what concrete indices it was resolved to
if (localIndexNames.length == 0) {
String[] concreteIndexNames = indexNameExpressionResolver.concreteIndexNames(projectMetadata, indicesOptions);
resolvedLocallyList.add(createResolvedIndexExpression(Metadata.ALL, concreteIndexNames));
} else if (IndexNameExpressionResolver.isNoneExpression(localIndexNames) == false) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like a dirty hack, but, IIUC, IndexNameExpressionResolver handles this situation similarly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there are no better way to handle this as far as I know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants