From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EbmjONKsR2A6AwAA0tVLHw (envelope-from ) for ; Tue, 09 Mar 2021 17:13:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iBfrM9KsR2B9PQAA1q6Kng (envelope-from ) for ; Tue, 09 Mar 2021 17:13:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 29B6D239DF for ; Tue, 9 Mar 2021 18:13:53 +0100 (CET) Received: from localhost ([::1]:48216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJfvc-00058S-Qz for larch@yhetil.org; Tue, 09 Mar 2021 12:13:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJf4O-00056S-1O for guix-devel@gnu.org; Tue, 09 Mar 2021 11:18:52 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]:33844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJf4L-00026B-Kr for guix-devel@gnu.org; Tue, 09 Mar 2021 11:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobias.gr; s=2018; bh=H6G82w5FGs/Xf+0WVeHQtSApGNDbS2NBdwwr4b4Oeag=; h=date:in-reply-to: references:subject:cc:to:from; b=SiyMMeR7xXWUMKDw5MiJPkZYkxVWttXGYAFbD Khq7wKHKGOMUyJt4p4ajdpe/BEsoEgo4WJzEWmvmdwHbn6e8ATxZobA3fACUDSOEqiRCPI uenPeNxvmRZvqo0l+wzV/I5X+30mjpUsoJUOd6gtldj1Cg3ehPN9MEorKlGtHbk7PJTZgl hvWUxC9Lmkabe9gY0pqwGMYQpWv5L9jZin2KsOBkM19dxvG0bM6V2Tv/+yqymDvHC3NqCe BRj7l8J7vapuD4ZBmu2PosuRMtff3aGwQnJmQMtrCK6Q2jrxOf+xvyXobFAECD1uKFQcPE CW/L3W+bo2UbLb81EjiZpCuag== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5340df15 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 9 Mar 2021 16:19:39 +0000 (UTC) BIMI-Selector: v=BIMI1; s=default; From: Tobias Geerinckx-Rice To: Taylan Kammer Cc: Raghav Gururajan , jgart , Mark H Weaver , LibreMiami , Nicolas Goaziou , guix-devel@gnu.org Subject: Re: Search improvements (Was: Opposition to new single-letter package name "t") References: <7ae1c8ee-30fc-6639-5539-621c65e7fc26@raghavgururajan.name> <87h7lkj3pt.fsf@netris.org> <2d477594f968f088d61e51a177e78bd2@dismail.de> <9f7ad8ce-7275-0e06-1767-eef1fb0f11cb@raghavgururajan.name> <87pn08muar.fsf@nckx> <446cc95b-9068-e07d-80ee-fbcc887c2c65@gmail.com> In-reply-to: <446cc95b-9068-e07d-80ee-fbcc887c2c65@gmail.com> Date: Tue, 09 Mar 2021 17:18:38 +0100 Message-ID: <87h7lkmhb5.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615310034; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=H6G82w5FGs/Xf+0WVeHQtSApGNDbS2NBdwwr4b4Oeag=; b=ohwRzBb+/8LkxPn9oYTrC1gnpvfuCOflSHgkg++trhoyDADyr2F1ACAgjLrV2avNVp1bfv se+vg1KObHIWd73U3do3lpX9nsRgM20wFKK4ZMeDo4rCq3fH0gtnzXMkYXoAut65J4Sq+F 675BaIKKVEGRGR8HbmXgUXwNBXiiSejZkayQ2QjZBuP32RLaAt1v4PbToyjTKY1iw0LlBx ISa/5nanEJBtQMQ+SgXtgmdyDabK1715uWWL6IjxM4lelL79mplIxHWb/XWTeeyK9xm6sC W57Yh3J4ryelUKBSAYaVkpH5ZxL3HPZFwEAEojZASMdSEueZAydrQefrpnECkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615310034; a=rsa-sha256; cv=none; b=Tn8j+S1AtuMYEvJm1M2vhc/OqSSFarchjDCZAV1EcAKYYAcBV2jy7+xqAYpMjeaw46ldU1 3ELl5lORe4TWisa7D/VnK18uo0Xvi+cPjcM39iBLg90sDOWuV35zaKoF2mwm/RIiSPTF0U EnEpNhBP24t6WEi4kEff6O/OOAs3duvviWdTzdKKAPL2dRiJXcFl76B1txm7V8qbk/3srB uxKaWdgKMppYUfQGsQXi2WKB3HSY/lAEC/G4oP+y64SD1SNoguZDT5t4MN8xlfIjJfa/Qd UHni9m82XbtuSCaxThklsHMGivOI3U6Q1WxFxg0pyOHXuSwWyWcp9rfggrZaRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=SiyMMeR7; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=SiyMMeR7; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 29B6D239DF X-Spam-Score: -3.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6kQKQvjXsSTZ --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Taylan, Taylan Kammer =E5=86=99=E9=81=93=EF=BC=9A > This discussion made me realize that "guix search" might benefit=20 > from > the following improvement though: I think the relevance score=20 > for a > search result should be increased significantly if the searched=20 > word is > a standalone (not substring) part of a package's name when the=20 > name is > split into dash-separated words. Thanks for remembering =E2=80=98guix search=E2=80=99! It didn't occur to m= e at=20 all. For most upstreams whether or not dashes were in vogue[0] when=20 they named their project is literally arbitrary. We'd penalise=20 many other packages like texlive-todonotes, open{ssh,vpn,*},=20 ktexteditor, r-performanceanalytics, qutebrowser, ... It's not a=20 net win. If I might pet my own peeve, I think clever heuristics appear=20 necessary in part because %package-metrics grossly overscores=20 package names. Rank them *below* synopsis & description--which=20 will contain the name anyway--with a metric of 1, maybe 2. Enough=20 to keep the relevant stuff above the irrelevant stuff (python- >=20 ruby-, etc.) without distorting things as they do now. Kind regards, T G-R [0]: Not a joke. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYEef3w0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15tXwBAIB0IC/8hcix/CKzMgXMZzOKiFvPZ0u8YYb3f8BE ROkjAQCAiqfJ8Z2msccg5Gw9bpS/b/QQ+YqIyw5lT7kJvXhwAQ== =P8tO -----END PGP SIGNATURE----- --=-=-=--