Bugzilla – Bug 1198550
Show exact hits first
Last modified: 2022-09-07 06:15:16 UTC
Let's say you are looking for jed editor, so you typed "jed". https://software.opensuse.org/search?baseproject=ALL&q=jed Expected result: since "jed" is exact match, the first hit should be jed. Actual results: jedit python-jedi jedit-javadoc python38-jedi python39-jedi python310-jedi python-jedihttp python38-jedihttp python39-jedihttp python310-jedihttp jed ...list goes on... It is not even sorted.
You mean like this? https://software.opensuse.org/search?baseproject=ALL&q="jed"
You mean like this? https://software.opensuse.org/search?baseproject=ALL&q=%22jed%22
No, you are showing here specific page for single package. I am referring to the list: https://software.opensuse.org/search?baseproject=ALL&q=jed and the ordering. I don't know in advance if what I type is perfect match or not, but the system can order the list in such way that perfect hit is the first one. After all system should make things easy for the user, so provide packages more likely user wants. I would even go further and say then the ordering should be: 1. perfect match 2. infix match 3. others Each "group" should be sorted alphabetically. So the results from my example would be shown in this order: jed jedit jedit-javadoc python-jedi python38-jedi python39-jedi python310-jedi python-jedihttp python38-jedihttp python39-jedihttp python310-jedihttp (I skipped sorting alphabetically here).
(In reply to macias - from comment #3) > No, you are showing here specific page for single package. Actually if you checked carefully you'd see it is a 302 redirect. Beyond that the portal check the mailing list, the portal is unmaintained except keeping it running as is.
> > No, you are showing here specific page for single package. > Actually if you checked carefully you'd see it is a 302 redirect. I don't see any relevance. It could be 100 redirects, it does not change the fact the final page is not a list and single package, because you changed your query in advance adding quotation marks. > Beyond that the portal check the mailing list, the portal is unmaintained > except keeping it running as is. I understand the sentence, I don't understand what checking the mail has to do with sorting order, and for the last remark does it mean no changes are possible at all?