You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// '*' in case of all indices put alias in context
25
+
ifindex=="*" {
26
+
forcachedItem:=rangecurrentCache {
27
+
alias:=GetIndexAlias(cachedItem)
28
+
ifalias!="" {
29
+
indices=append(indices, alias)
30
+
}
31
+
}
32
+
break
33
+
} elseifstrings.Contains(index, "*") {
34
+
// in case of regex check if string contains '*' in naming pattern, if contains and doesn't have '.*' and replace '*' with '.*' because golang regex can match in that pattern. Next match regex patters with existing index names in cache and add those alias to context.
0 commit comments