GNU bug report logs - #77833
Xapian cache/search proof of concept

Previous Next

Package: guix-patches;

Reported by: Noé Lopez <noe <at> xn--no-cja.eu>

Date: Tue, 15 Apr 2025 21:16:03 UTC

Severity: normal

Full log


Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Noé Lopez <noe <at> xn--no-cja.eu>
Cc: Arun Isaac <arunisaac <at> systemreboot.net>, guix-patches <at> gnu.org
Subject: Re: Xapian cache/search proof of concept
Date: Wed, 16 Apr 2025 22:01:37 +0200
Hello,

Noé Lopez <noe <at> noé.eu> writes:

> Search is less than a second (loading guile modules, actual search is
> instantaneous) and building the cache takes ~20 seconds.
>
> The whole thing was very easy to make following the guile-xapian
> example, and it shows as it is only 71 loc.

I forgot the outcome of discussions with Simon back when they worked on
it, but now I wonder: would it be reasonable to have it in ‘guix search’
proper, with indexing happening on first ‘guix search’ for a given
channel set?

I suppose 20s is on an SSD with a warm cache; would be nice to check on
spinning disks (on an SSD current ‘guix search’ is fast enough IMO).

One thing is that I’m not confident about the use of SWIG in
Guile-Xapian (I used SWIG back when it was fashionable and it didn’t do
a great job), I’d rather not have Guix depend on it.

Ludo’.




This bug report was last modified 45 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.