Skip to content

fix(search&aggregate):fix error overwrite and typo #3220 #3224

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 20, 2025
Prev Previous commit
Next Next commit
test should not include special condition
  • Loading branch information
ndyakov committed Feb 20, 2025
commit d3b325c515a22849b77d7c969431ac04eae16bfd
9 changes: 1 addition & 8 deletions search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,14 +663,7 @@ var _ = Describe("RediSearch commands Resp 2", Label("search"), func() {
Expect(res.Rows[0].Fields["t2"]).To(BeEquivalentTo("world"))

_, err = client.FTAggregateWithArgs(ctx, "idx_not_exist", "*", &redis.FTAggregateOptions{}).Result()
if !RECluster {
Expect(err).To(HaveOccurred())
} else {
//FIXME:This is a known issue, which is fixed in RedisSearch(2.8.10), but the Redis Enterprise(7.4.2) packaged RediSearch 2.8.9
//https://github.com/RediSearch/RediSearch/issues/4272
//https://redis.io/docs/latest/operate/rs/release-notes/rs-7-4-2-releases/rs-7-4-2-54/
Expect(err).NotTo(HaveOccurred())
}
Expect(err).To(HaveOccurred())
})

It("should FTAggregate with scorer and addscores", Label("search", "ftaggregate", "NonRedisEnterprise"), func() {
Expand Down
Loading