Skip to content
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

feat: add with_scores support to search command #59

Merged
merged 2 commits into from
Mar 5, 2020

Conversation

germanramos
Copy link

"search" command is missing the ability to return the score of the documents found.

This functionality is provided by using "WITHSCORES" when querying using the CLI.

With this pull request we have the function ".with_scores()" that implement this feature and add the field "score" to every documents of search result.

@gkorland gkorland merged commit b1312cf into RediSearch:master Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants