Skip to content

Commit 3c54c7a

Browse files
Refactor index name expression resolver (elastic#92518)
The goals in this expression resolving refactoring are: * simplify the `IndexNameExpressionResolver#WildcardExpressionResolver` class, eg. it doesn't throw the "not found" exception for explicit resource names (which are not wildcards) * have a separate step to handle explicit names: it either ignores (silently drops) names of missing resources or throws a "not found" exception, depending on the `ignore_unavailable` request option. * encapsulate the exclusion logic (names starting with "-" following another name that starts with "*" are exclusions)
1 parent d79a560 commit 3c54c7a

File tree

3 files changed

+517
-148
lines changed

3 files changed

+517
-148
lines changed

0 commit comments

Comments
 (0)