-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Ranking rules does not work like documents #4545
Comments
Hello, with a quick look to your data it looks to me like no two documents are having the same If that is correct, there is nothing that remains to be ranked by the words ranking rule after the sort ranking rule has been applied, and the behavior is expected. What behavior were you expecting to see vs. which behavior are you seeing. That is, for a given query, what is the order of documents you're seeing, and what is the order of documents you were expecting to see? Having sort as the first ranking rule is reserved to niche use cases, because usually you want relevancy ranking rules applied first. |
Describe the bug
Try to custom ranking rules but it does not work as expect, just first rule is working. For example:
My ranking Rules:
[
"sort",
"words",
"typo",
"proximity",
"attribute",
"exactness"
]
My Results are ranked by sort only. others do not work. I try to sort by created_at first and then sort the semantic score.
I attached my data test below.
data-test.json
The text was updated successfully, but these errors were encountered: