Skip to content

Commit 0d207b1

Browse files
committed
skip unsuported addscores
1 parent ce09492 commit 0d207b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

search_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,7 @@ var _ = Describe("RediSearch commands Resp 2", Label("search"), func() {
667667
})
668668

669669
It("should FTAggregate with scorer and addscores", Label("search", "ftaggregate", "NonRedisEnterprise"), func() {
670+
SkipBeforeRedisVersion(7.4, "no addscores support")
670671
title := &redis.FieldSchema{FieldName: "title", FieldType: redis.SearchFieldTypeText, Sortable: false}
671672
description := &redis.FieldSchema{FieldName: "description", FieldType: redis.SearchFieldTypeText, Sortable: false}
672673
val, err := client.FTCreate(ctx, "idx1", &redis.FTCreateOptions{OnHash: true, Prefix: []interface{}{"product:"}}, title, description).Result()

0 commit comments

Comments
 (0)