@@ -3429,7 +3429,7 @@ var _ = Describe("FT.HYBRID Commands", func() {
34293429 VectorData : & redis.VectorFP32 {Val : encodeFloat32Vector ([]float32 {1 , 2 , 2 , 3 })},
34303430 },
34313431 },
3432- Load : []string {"description" , "color" , "price" , "size" , "__score" },
3432+ Load : []string {"@ description" , "@ color" , "@ price" , "@ size" , "@ __score" },
34333433 LimitOffset : 0 ,
34343434 Limit : 3 ,
34353435 }
@@ -3463,7 +3463,7 @@ var _ = Describe("FT.HYBRID Commands", func() {
34633463 Filter : "@price:[15 16] @size:[10 11]" ,
34643464 },
34653465 },
3466- Load : []string {"description" , "color" , "price" , "size" , "__score" },
3466+ Load : []string {"@ description" , "@ color" , "@ price" , "@ size" , "@ __score" },
34673467 }
34683468
34693469 cmd := client .FTHybridWithArgs (ctx , "hybrid_idx" , options )
@@ -3614,7 +3614,7 @@ var _ = Describe("FT.HYBRID Commands", func() {
36143614 VectorData : & redis.VectorFP32 {Val : encodeFloat32Vector ([]float32 {1 , 2 , 7 , 6 })},
36153615 },
36163616 },
3617- Load : []string {"description" , "color" , "price" , "size" , "__score" },
3617+ Load : []string {"@ description" , "@ color" , "@ price" , "@ size" , "@ __score" },
36183618 Apply : []redis.FTHybridApply {
36193619 {
36203620 Expression : "@price - (@price * 0.1)" ,
@@ -3680,16 +3680,16 @@ var _ = Describe("FT.HYBRID Commands", func() {
36803680 VectorData : & redis.VectorFP32 {Val : encodeFloat32Vector ([]float32 {1 , 2 , 7 , 6 })},
36813681 },
36823682 },
3683- Load : []string {"color" , "price" },
3683+ Load : []string {"@ color" , "@ price" },
36843684 Apply : []redis.FTHybridApply {
36853685 {
36863686 Expression : "@price - (@price * 0.1)" ,
36873687 AsField : "price_discount" ,
36883688 },
36893689 },
36903690 SortBy : []redis.FTSearchSortBy {
3691- {FieldName : "price_discount" , Desc : true },
3692- {FieldName : "color" , Asc : true },
3691+ {FieldName : "@ price_discount" , Desc : true },
3692+ {FieldName : "@ color" , Asc : true },
36933693 },
36943694 LimitOffset : 0 ,
36953695 Limit : 5 ,
0 commit comments