Search ranks unpublished packages first
It appears that search ranks unpublished modules at the top. For example:
https://jsr.io/packages?search=kv
Returns:
Where the "top" package is currently unpublished: https://jsr.io/@ts-rex/kv-spy
So currently search is unranked and not based on the score. Unpublished packages should then be treated like as having a score of 0. However this is blocked by orama not supporting weighting results yet
So what is the ordering, arbitrary? Alphabetical by package name, versus scope?
I guess why would you want unpublished packages in the search results anyways?
the ordering is completely arbitrary by orama, and we currently have 0 influence on it.
I guess why would you want unpublished packages in the search results anyways?
users expect to be able to search their package once they create it, else they think that the system isn't working even though that is not the case