GNU bug report logs - #36390
[PATCH 0/3] Improve 'guix search' relevance and display

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 26 Jun 2019 08:44:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 36390 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 36390 <at> debbugs.gnu.org
Subject: Re: [bug#36390] [PATCH 0/3] Improve 'guix search' relevance and
 display
Date: Wed, 26 Jun 2019 11:57:05 +0200
Ludovic Courtès <ludo <at> gnu.org> writes:

> This improves ‘guix search’ in two ways:
>
>   1. The relevance score now excludes things that do not match *all*
>      the regexps.  So ‘guix search go game’ returns 28 results instead
>      of 1,245 and the first one is ‘gnugo’; ‘guix search ssh client’
>      returns 14 results instead of 510; ‘guix search guile crypto’
>      returns just ‘guile-gcrypt’ instead of 279 results.
>
>   2. ‘guix search’ and ‘guix system search’ now write at most a full
>      screen of results.  You can pipe through a pager to view all the
>      results.

Perfect, thank you for the patches!

(I wonder why you chose to use “(cut > <> 0)” instead of “positive?” for
checking if a value is greater than zero.)

--
Ricardo





This bug report was last modified 5 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.