You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When querying https://crates.io/api/v1/crates results are invalid sometimes
To Reproduce
Steps to reproduce the behavior:
A:
Go to https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_dec&sort=
Observe that results page doesn't have a single rust_dec word, but it produces some irrelevant crates like aocleaderboard, atomic-traits and others
B:
Go to https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_dec
Observe that results page contains rust_dec word, but it also produces some irrelevant crates like z3d, google_maps and others
Expected behavior
It should show the same result as https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_deci&sort= query (note i in the end of the query):
thanks for reporting this @Pzixel. I share your view that the search algorithm needs to be improved, though at the moment it is not clear for us yet exactly how we can improve it. We have a similar issue already reported at #2739, so I'll go ahead and close this one as a duplicate. :)
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When querying
https://crates.io/api/v1/crates
results are invalid sometimesTo Reproduce
Steps to reproduce the behavior:
A:
https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_dec&sort=
rust_dec
word, but it produces some irrelevant crates likeaocleaderboard
,atomic-traits
and othersB:
https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_dec
rust_dec
word, but it also produces some irrelevant crates likez3d
,google_maps
and othersExpected behavior
It should show the same result as
https://crates.io/api/v1/crates?page=1&per_page=20&q=rust_deci&sort=
query (notei
in the end of the query):Screenshots
The text was updated successfully, but these errors were encountered: