From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37525) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBfyO-0004fL-1p for guix-patches@gnu.org; Tue, 10 Mar 2020 10:35:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBfyN-0000Lr-1h for guix-patches@gnu.org; Tue, 10 Mar 2020 10:35:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jBfyM-0000J1-Sb for guix-patches@gnu.org; Tue, 10 Mar 2020 10:35:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jBfyH-0007mc-PS for guix-patches@gnu.org; Tue, 10 Mar 2020 10:35:01 -0400 Subject: [bug#39258] [PATCH v2 0/3] Xapian for Guix package search Resent-Message-ID: MIME-Version: 1.0 References: <20200307133116.11443-1-arunisaac@systemreboot.net> <87sgijgb1v.fsf@gnu.org> <875zffcc87.fsf@gnu.org> <87r1y13jew.fsf@gnu.org> In-Reply-To: From: zimoun Date: Tue, 10 Mar 2020 15:33:55 +0100 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Arun Isaac Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Pierre Neidhardt , 39258@debbugs.gnu.org Hi Arun, On Tue, 10 Mar 2020 at 15:18, Arun Isaac wrote= : > > We could provide a substitute for users who use only the official 'guix > > channel. However, as soon as users combine multiple channels, they=E2= =80=99ll > > have to build the index locally. > > We could build a separate Xapian database for each channel. Xapian does > support searching across multiple databases at once and will handle > merging the results together appropriately. If I understand correctly, > this means we can provide substitutes for at least the official guix > channel and let the user build the index locally for other channels. Is > that correct? To complement your words, you could also imagine index all the history as any other channels. It needs some thoughts but it seems a path that I would to go. > Also, could someone please build the patchset v2 on their machine and > measure the time taken by generate-package-search-index? My laptop, > particularly my HDD is slow even as far as HDDs go. So, my figure of > 20-50 seconds may not be representative. I will do when I will be fully back. :-) All the best, simon