From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#35551: guix search Date: Fri, 10 May 2019 17:17:29 +0200 Message-ID: <87k1eyz6d2.fsf@gnu.org> References: <1666426.mZ6LCf6Yd0@omega> <3642152.sbCaK8LMaK@omega> <87sgtm1umd.fsf@gnu.org> <1649566.Jk3XjpCMXS@omega> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP7Hf-0006GF-N8 for bug-guix@gnu.org; Fri, 10 May 2019 11:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP7He-0006Ww-RD for bug-guix@gnu.org; Fri, 10 May 2019 11:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53470) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hP7He-0006Wq-Nx for bug-guix@gnu.org; Fri, 10 May 2019 11:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hP7He-0002pG-Ii for bug-guix@gnu.org; Fri, 10 May 2019 11:18:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <1649566.Jk3XjpCMXS@omega> (Bruno Haible's message of "Fri, 10 May 2019 12:22:16 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Bruno Haible Cc: 35551-done@debbugs.gnu.org Bruno Haible skribis: >> Another option I thought of would be to display only the 10 results with >> the highest relevance by default, when stdout is a terminal. > > That would be OK as a second step. But first, we should get the > sort order (the notion of relevance) improved. It=E2=80=99s tricky to map our intuition to actual metrics on the data that= we have, though. The current metrics used to compute the relevance score are here: https://git.savannah.gnu.org/cgit/guix.git/tree/guix/ui.scm#n1406 Like I said, command names are not available in an off-line context. Ludo=E2=80=99.