Skip to content
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

Improve sorting results by relevance #117

Closed
f2404 opened this issue Mar 22, 2016 · 0 comments · Fixed by #118
Closed

Improve sorting results by relevance #117

f2404 opened this issue Mar 22, 2016 · 0 comments · Fixed by #118
Assignees

Comments

@f2404
Copy link
Collaborator

f2404 commented Mar 22, 2016

The sorting should be improved: "yaourt-git" should be put before "aurtab".
Maybe take into account the number of consequential characters matching the query (i.e. "yaourt-git" has 6 of those while "aurtab" only has 2)?

$ package-query -As yaourt --sort r
aur/yaourt 1.8.1-1 (2850) (55.15)
    A pacman wrapper with extended features and AUR support
aur/aurtab 1-2 (12) (1.52)
    AUR tab completion for yaourt and apacman using zsh.
aur/yaourt-git 1.8.1.r11.g153c1f3-1 [installed] (182) (5.94)
    A pacman wrapper with extended features and AUR support
aur/yaourt-gui 1.5-2 (201) (5.74)
    A bash GUI for yaourt
aur/safeaur 1.1.2-1 (2) (1.06)
    safeaur is auto Backup and re-store System for yaourt.
aur/pacmind 2.5-4 (54) (1.08)
    A gtkdialog frontend gui for the package manager, inspired to yaourt-gui
aur/pacmanxg 4.17.0-1 (7) (0.88)
    Yet another GUI for pacman and yaourt. Depends on neither GTK or Qt: only X11
aur/pac_manage 1.4-1 (0) (0.00)
    pacman/yaourt helper - manage packages in a single file
aur/yaourt-gui-manjaro 1.4.5-2 (16) (0.69)
    A bash GUI for yaourt (Manjaro theming) and Romanian translation added
aur/lightspark-local 20120810-1 (0) (0.00)
    My modified version of the lightspark-git PKGBUILD; Enhancements: choose between devel and normal buildtype, save 
    changes local even if you use yaourt
@f2404 f2404 self-assigned this Mar 22, 2016
@f2404 f2404 changed the title Improve results sorting by relevance Improve sorting results by relevance Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant