From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:49736) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7f5f-0003i0-4L for guix-patches@gnu.org; Fri, 28 Feb 2020 07:50:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7f5e-0001b9-0n for guix-patches@gnu.org; Fri, 28 Feb 2020 07:50:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54779) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7f5d-0001b0-UV for guix-patches@gnu.org; Fri, 28 Feb 2020 07:50:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7f5d-0002rV-Sm for guix-patches@gnu.org; Fri, 28 Feb 2020 07:50:01 -0500 Subject: [bug#39258] [PATCH 0/4] Xapian for Guix package search Resent-Message-ID: From: Pierre Neidhardt In-Reply-To: References: <20200227204150.30985-1-arunisaac@systemreboot.net> <87eeuf5dty.fsf@ambrevar.xyz> Date: Fri, 28 Feb 2020 13:49:31 +0100 Message-ID: <87zhd2ho6c.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: zimoun Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 39258@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun writes: > 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. What I meant with "install a bunch of packages" is "guix pull -p", is you said. Xapian cache is populated as a hook of guix pull if I got it correctly. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5ZDFsACgkQm9z0l6S7 zH/zOgf8CNjylikzLFmq6wV4BSdcmPP4sAdqlQSPsea2Gl6pwybKHC6nAWWWC/Pn X79HMHiQk9lcywIsTcyW+hqHMQzWIQfFY24zndSAfAfQoRkyfEA8Icukwe0BVqmn bpVVZvaCyUKJ8ZUpoTGJitanqbeSSQHMpKMbg9AvYq9o1ccFTwPar4f696Hm0hAM Tgaf2p1XKf3z5XxMStF6ov+nXtM/KjWhBR3FrWvg4tRczmzkRUZItaH9ds6yT6wk uk3kDGscvz2mzfvJaERb2jEaRpkbCnkHJC2HN7O7k/8jvuS+gLUhMw+mQs+ZuK6V xtUrCqzg0KviCBoYNgmEPItz6sRknA== =eYIZ -----END PGP SIGNATURE----- --=-=-=--