Unable to return FT.Search results along with WithScores output #506
Unanswered
hrshtsharma
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi @hrshtsharma, I believe that there should be a better way to do this too! Could you share how do you get the scores? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
So I was recently trying to use the library to return the results for the query given below:
FT.SEARCH myIndex "foo" SCORER BM25 WITHSCORES
I am currently using the AsFTSearch Method to extract the result from the redisResult response. However, the results seems to the missing an entry for the scores that were returned. Inspecting the raw results, it seems that the results are part of the response but are being filtered out in the above process. I am currently extracting the results from the raw results directly but I believe that there should a better way to do this.
Beta Was this translation helpful? Give feedback.
All reactions