Commit 305aaf8
committed
test(multivector): Update unit test to expect @ prefix in scoring formula
Fixed MultiVectorQueryTest to expect the correct Redis aggregation syntax with @ prefix.
The scoring formula needs @ prefix when referencing fields created by APPLY in Redis
aggregation queries. Updated test assertion from "0.20 * score_0" to "0.20 * @score_0"
to match the actual implementation required for proper FT.AGGREGATE execution.1 parent 10c103d commit 305aaf8
File tree
2 files changed
+8
-7
lines changed- core/src
- main/java/com/redis/vl/query
- test/java/com/redis/vl/query
2 files changed
+8
-7
lines changedLines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
184 | 185 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments