From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48592) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7evy-0006bD-Tn for guix-patches@gnu.org; Fri, 28 Feb 2020 07:40:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7evy-00070n-1F for guix-patches@gnu.org; Fri, 28 Feb 2020 07:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7evx-00070i-SP for guix-patches@gnu.org; Fri, 28 Feb 2020 07:40:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7evx-0002Xd-QR for guix-patches@gnu.org; Fri, 28 Feb 2020 07:40:01 -0500 Subject: [bug#39258] [PATCH 0/4] Xapian for Guix package search Resent-Message-ID: MIME-Version: 1.0 References: <20200227204150.30985-1-arunisaac@systemreboot.net> <87eeuf5dty.fsf@ambrevar.xyz> In-Reply-To: <87eeuf5dty.fsf@ambrevar.xyz> From: zimoun Date: Fri, 28 Feb 2020 13:39:08 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 39258@debbugs.gnu.org Hi Pierre, On Fri, 28 Feb 2020 at 09:13, Pierre Neidhardt wrote: > Beside this issue, how do you test it? I guess we first need to install > a bunch of package with `pre-inst-env guix ...` then to a `pre-inst-env search`? It is not searching in the installed packages but in all the packages. So, to test it, you need to "./pre-inst-env guix pull -p" or something like that to populate the Xapian index database. Then "./pre-inst-env guix search" will lookup into. I mean, it is how I understand it should work. I have not yet looked into the code. Cheers, simon