[aur-dev] [PATCH] Use keyword search by default

Lukas Fleischer lfleischer at archlinux.org
Fri May 22 10:16:17 UTC 2015


On Fri, 22 May 2015 at 12:06:52, Lukas Fleischer wrote:
> Signed-off-by: Lukas Fleischer <lfleischer at archlinux.org>
> ---
>  web/lib/pkgfuncs.inc.php | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> [...]

Forgot to mark this as RFC. What this patch does is change the default
search mode such that the query

    foo bar "john doe"

returns all packages that contain "foo", "bar" and "john doe" (either in
the package name or in the description). We still don't support fuzzy
matching but this is much better than what we use now.

You can test this on aur-dev.archlinux.org. I will resubmit the patch
with a proper commit message later.


More information about the aur-dev mailing list