-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[WIP] [ES-12677] Field caps should be transport level toggleable to return for each original index expression what concrete indices it was resolved to #136211
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
base: main
Are you sure you want to change the base?
Conversation
…for each original index expression what concrete indices it was resolved to
# Conflicts: # server/src/main/resources/transport/upper_bounds/9.3.csv
if (localIndexNames.length == 0) { | ||
String[] concreteIndexNames = indexNameExpressionResolver.concreteIndexNames(projectMetadata, indicesOptions); | ||
resolvedLocallyList.add(createResolvedIndexExpression(Metadata.ALL, concreteIndexNames)); | ||
} else if (IndexNameExpressionResolver.isNoneExpression(localIndexNames) == false) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.