We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31dd5cf commit f775790Copy full SHA for f775790
1 file changed
plugins/reindexer/dao.go
@@ -8,7 +8,6 @@ import (
8
"net/url"
9
"regexp"
10
"strconv"
11
- "strings"
12
"time"
13
14
log "github.com/sirupsen/logrus"
@@ -363,7 +362,7 @@ func getAliasedIndices(ctx context.Context) ([]AliasedIndices, error) {
363
362
v := url.Values{}
364
v.Set("format", "json")
365
366
- if strings.Contains(util.GetSemanticVersion(), "7.7") {
+ if util.GetSemanticVersion() >= "7.7.0" {
367
v.Add("expand_wildcards", "all")
368
}
369
0 commit comments