node-redis icon indicating copy to clipboard operation
node-redis copied to clipboard

FT.SEARCH WITHSCORES not implemented

Open Frame1910 opened this issue 3 years ago • 6 comments

#97's thread indicates that WITHSCORES is implemented as of v4. However upon inspection of the code, it's been commented out. Could I get an explanation as to why it's been removed and if its planned to be re-implemented anytime soon?

Cheers

Frame1910 avatar May 23 '22 05:05 Frame1910

What has been commented out? WITHSCORES in what command? can you please elaborate more?

leibale avatar May 30 '22 14:05 leibale

When using the command FT.SEARCH from RedisSearch, there are various commands you can use. These are listed in packages/search/lib/commands/SEARCH.ts.. On line 13, WITHSCORESs' implementation is commented out. In the previously mentioned issue #97 it was said that it was implemented as of v4.

Sorry if I wasn't clear, its my first issue! Hope that clears it up.

Frame1910 avatar May 31 '22 02:05 Frame1910

+1 for needing an implementation for this.

simonprickett avatar Jun 23 '22 16:06 simonprickett

any update on implementing WITHSCORES in FT.SEARCH and FT.AGGREGATE. any update on this will be helpful.

ubaidazad avatar Jan 01 '24 16:01 ubaidazad