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
Unstable results when running the same query twice #4627
Comments
A reason for result unstability introduced in v1.8 is the search cutoff. I'm pretty sure this is what we're seeing. If the behavior is undesirable, one should increase the |
Thank you, @dureuill 👏 You found the issue! This is only because the With the Default Cutoff"_rankingScoreDetails": {
"words": {
"order": 0,
"matchingWords": 1,
"maxMatchingWords": 1,
"score": 1.0
},
"typo": {
"order": 1,
"typoCount": 0,
"maxTypoCount": 1,
"score": 1.0
},
"proximity": {
"order": 2,
"score": 1.0
},
"xf90:desc": {
"order": 3,
"value": 258587.8854961832
},
"skipped": {
"order": 4
}
} With a High Cutoff Everything is Fine"_rankingScoreDetails": {
"words": {
"order": 0,
"matchingWords": 1,
"maxMatchingWords": 1,
"score": 1.0
},
"typo": {
"order": 1,
"typoCount": 0,
"maxTypoCount": 1,
"score": 1.0
},
"proximity": {
"order": 2,
"score": 1.0
},
"xf90:desc": {
"order": 3,
"value": 258587.8854961832
},
"exactness": {
"order": 4,
"matchType": "noExactMatch",
"matchingWords": 0,
"maxMatchingWords": 1,
"score": 0.16666666666666666
}
} |
Describe the bug
When running the following query, the engine is returning unstable results. Note that everything is on the private Discord conversation with our customer.
To Reproduce
Unfortunately, we don't have a clear reproducer but running the above query multiple times.
Expected behavior
The results must be stable and sorted by xf90.
Meilisearch version:
v1.8.0
Additional context
Running on a dedicated Digital Ocean instance on the Cloud.
The text was updated successfully, but these errors were encountered: