Skip to content

Commit

Permalink
Update index.go
Browse files Browse the repository at this point in the history
  • Loading branch information
AvitalFineRedis authored Jun 8, 2021
1 parent 0ca2e53 commit fd12a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redisearch/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func NewIndexDefinition() *IndexDefinition {
return &IndexDefinition{HASH.String(), false, prefixArray, "", "", "", -1, "", ""}
}

// This is only valid for >= RediSearch 2.0
// This is only valid for >= RediSearch 2.2
func (defintion *IndexDefinition) SetIndexOn(value IndexType) (outDef *IndexDefinition) {
outDef = defintion
outDef.IndexOn = value.String()
Expand Down

0 comments on commit fd12a63

Please sign in to comment.