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

Term Frequencies in SearchResult #63

Open
elizabetht opened this issue May 6, 2019 · 2 comments
Open

Term Frequencies in SearchResult #63

elizabetht opened this issue May 6, 2019 · 2 comments

Comments

@elizabetht
Copy link

Hi,is there a way to get the frequency of the search term in each document in the search results? From the example in the reference, https://oss.redislabs.com/redisearch/java_client.html, suppose the body was the lorem ipsum lorem ipsum lorem ipsum is there a way to get how many times the word lorem was present in the document indexed - say return 3 in this case?

Let me know if I am failing to see if there is a way already to do this using JRedisearch. I am using the following dependency in the build.gradle implementation("com.redislabs:jredisearch:0.25.0")

@elizabetht
Copy link
Author

@gkorland is there a way to get the term frequencies? or atleast a way to set the scorer functions?

@gkorland
Copy link
Contributor

@elizabetht does that help https://oss.redislabs.com/redisearch/Scoring.html (see SCORER)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants