We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
very important value __score in FT.SEARCH is returned as raw string not converted. users need manually convert it to float
__score
FT.SEARCH
now, this is internal redis type.
and redis go pkg does not export functions to convert it. which is bad and error prone and leads to wrong re-implementations.
Either:
export this https://github.com/redis/go-redis/blob/master/internal/proto/reader.go#L192
FT.SEARCH is very important. __score is very important.
and this is not even proper float... what....
INFO
# Server redis_version:7.2.6 redis_git_sha1:00000000 redis_git_dirty:0 redis_build_id:afdd7ad38aac5fcf redis_mode:standalone os:Linux 6.1.112+ x86_64 arch_bits:64 monotonic_clock:POSIX clock_gettime multiplexing_api:epoll atomicvar_api:c11-builtin gcc_version:11.4.0 process_id:8
go version go1.23.0 darwin/arm64
go.mod
github.com/redis/go-redis/v9 v9.7.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
very important value
__score
inFT.SEARCH
is returned as raw string not converted. users need manually convert it to floatnow, this is internal redis type.
and redis go pkg does not export functions to convert it. which is bad and error prone and leads to wrong re-implementations.
Expected Behavior
Either:
Current Behavior
Possible Solution
export this https://github.com/redis/go-redis/blob/master/internal/proto/reader.go#L192
Steps to Reproduce
FT.SEARCH
__score
field in GoContext (Environment)
FT.SEARCH
is very important.__score
is very important.and this is not even proper float... what....
INFO
go.mod
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: