From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Apr 2025 21:16:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174475175414490 (code B ref -1); Tue, 15 Apr 2025 21:16:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Apr 2025 21:15:54 +0000 Received: from localhost ([127.0.0.1]:56704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u4ndK-0003le-7w for submit@debbugs.gnu.org; Tue, 15 Apr 2025 17:15:54 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54674) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u4ndG-0003gL-08 for submit@debbugs.gnu.org; Tue, 15 Apr 2025 17:15:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u4ncd-0008IG-HM for guix-patches@gnu.org; Tue, 15 Apr 2025 17:15:12 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u4ncZ-0002Jd-Kh; Tue, 15 Apr 2025 17:15:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date:Message-ID: To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cgDaMEABu3Na1tDAHkwDZ7yYl/p3bKOyssQQ4Eau5os=; b=Bw/NSu+J0EUZ3X1x9vZ2d9tSIo r4nJWy27kKFqX7JjXGS7vSBQL5as3q0yA3WHQS10w9JBXMn6bvJuUr6KfqMZqfo7HS9uoQabE9fJx OasQIiP6LH5RM9fUq0+sM/HzgtDNUFvhDF5Nvpk5XWiR4L3rBdH1HDllDOr/hVdazgkss4Rcdh5Hc obW5jiS99zuQ/qaLuMPSIBvysztrIbxGr4b7ejLucVYlRDpB7HSlKeBDxLaclAABSPFF7vCMVWxG2 EDM1zCbDZL/AoC2oylhVLnitusUeWNN4HuenKKbeTP2uq3gMKoLsWcVBkAiauzQDNhVVPP/WhGaog e5wxhAsw==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u4ncS-00Gsmm-0A; Tue, 15 Apr 2025 23:15:00 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87mscqhmu2.fsf@systemreboot.net> Date: Tue, 15 Apr 2025 23:14:41 +0200 Message-ID: <87bjsxi0u6.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Arun, Ludo, and everyone, I Just stumbled upon Arun=E2=80=99s suggestion of doing a guix xsearch exte= nsion to use a xapian search in #39258 so I gave it a try tonight, here=E2=80=99s= the proof of concept. 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. So, what do you think? Is it an idea worth pursuing? --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=guix-xsearch.scm (define-module (guix-xsearch) #:use-module ((gnu packages) #:select (fold-packages find-packages-by-name)) #:use-module ((guix build utils) #:select (package-name->name+version)) #:use-module (guix packages) #:use-module (ice-9 match) #:use-module (srfi srfi-11) #:use-module (xapian xapian) #:use-module (statprof)) (define %database-path "guix-xsearch.xapian") (define (index) (call-with-writable-database %database-path (lambda (database) (fold-packages (lambda (package _) (let* ((name (package-name package)) (version (package-version package)) (description (package-description package)) (synopsis (package-synopsis package)) (name+version (string-append name "@" version)) (idterm (string-append "Q" name+version)) (document (make-document #:data name+version #:terms `((,idterm . 0)))) (term-generator (make-term-generator #:stem (make-stem "en") #:document document))) ;; Index title and description with a suitable ;; prefix. This is used to allow for searching separate ;; fields as in name:openttd, description:leather, ;; etc. ;; Disabled for performance. (index-text! term-generator name #:prefix "S") (index-text! term-generator synopsis #:prefix "B") (index-text! term-generator description #:prefix "XD") ;; Index title and description without prefixes for ;; general search. (index-text! term-generator name) (increase-termpos! term-generator) (index-text! term-generator synopsis) (index-text! term-generator description) ;; Add the document to the database. The unique idterm ;; ensures each object ends up in the database only once ;; no matter how many times we run the indexer. (replace-document! database idterm document) #nil)) #nil)))) (define (search query-string) (call-with-database %database-path (lambda (database) (let* ((query (parse-query query-string #:stemmer (make-stem "en") #:prefixes '(("name" . "S") ("synopsis" . "B") ("description" . "XD")))) (mset (enquire-mset (enquire database query) #:maximum-items 10))) (mset-fold (lambda (item _) (let* ((name+version (string-split (document-data (mset-item-document item)) #\@)) ;; FIXME: Use a more precise way to restore the ;; package, like the package cache does. (packages (find-packages-by-name (car name+version) (cadr name+version)))) (for-each (lambda (package) (format #t "~a: #~3,'0d ~a~%" (mset-item-rank item) (mset-item-docid item) package)) packages)) #nil) #nil mset))))) (match (command-line) ((_ "index") (index)) ((_ "search" query) (search query)) ((program . _) (format (current-error-port) "Usage: ~a index | search ~%" program))) --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmf+zEESHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDtk4L/1TDzFLHCVJ9Wa1V1pj44oPZ1my/ksJk QAf+3rotBn2DT7XBLvxlWiEr70ZpkPTYRwsSQ8T11ewQ4AvlsIEpRvI9NLvaorMY Lnq1DpXD/RTsOX0vS6gNlDOSdt25szBPWtLTBnnK3fra6VHqQSclnRaf5rZKrKRA z66Lg9BZr0zCS+Bfj5vJhWFAeiCnn2gDViaXl4WLA3e8HPaRj6PU+Xp9o4PZVKS+ bcwFxky3oucBPcTEZeJKa9bd7zW9OSayaEOw87NlRjX/sJmQ1D2XH3Hq9LRbZnh0 17Crte+G0VTXl7wjq3Qr0n56f2tPwVuI/lwD1rWx4wM51LOMyI21iso8N7Y7qF/4 qQUw7xjRU9Cv8u/8Wnrt0GR2wlS9G6HFKDj8YgBaN7UzfSR+wjEzjKFVhwwm/7qm RNGqxcQ/EMMT5iknCVjuH57h7Erh9r+qaTclsN6VS9jedlT0toVg3ra22GDwvlKF DmRAaR23Hg4QnyFmCnumUcB8FJMdRyqodg== =Ba7b -----END PGP SIGNATURE----- --==-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 16:34:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?No=C3=A9?= Lopez , 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174482120411101 (code B ref 77833); Wed, 16 Apr 2025 16:34:10 +0000 Received: (at 77833) by debbugs.gnu.org; 16 Apr 2025 16:33:24 +0000 Received: from localhost ([127.0.0.1]:40942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u55hT-0002sw-4w for submit@debbugs.gnu.org; Wed, 16 Apr 2025 12:33:23 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:52599) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u55hE-0002r4-Gw for 77833@debbugs.gnu.org; Wed, 16 Apr 2025 12:33:09 -0400 Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-39c0e0bc733so6098163f8f.1 for <77833@debbugs.gnu.org>; Wed, 16 Apr 2025 09:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744821182; x=1745425982; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=0I+vv8SjaoQPbBekZHmYivr2o1P9dpWDTIfPNmB4cWI=; b=ISedwPKAAxfobv5+3K4BaqyXnfzA+JYkwsiIuxjZc008VZAOGcwQ+OMD5P3rjzcFYA z8mnDyEIRW2db0ko1F+XsNqpLXdwBdXF54MeZ5TONJzOAkDzCoUWMHEiqf1PavD9yUQr ZJ4LuPA9zavm3akPRQPdOtQAeB0tUmSPws1Um3TqQHiQQQPNuUCxjjTig7c1f1jMyNi1 ZpbbiKzvq/LvXzWLepL0FAmJL0fNLIF0XDB4/a1X8nNXYbqDO8r1hlzV2WyAAnt/u0NB 2OmBA5s4r4XqhnRa3hTOb/nRAO17soDmn+qbJM3L61LlSqf/PwB/OA8vYqP7Vg7hijdf s4ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744821182; x=1745425982; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0I+vv8SjaoQPbBekZHmYivr2o1P9dpWDTIfPNmB4cWI=; b=kvb+EtbqoE2VfD/qaMbyEXkAmMoVSZJsFwkiDpZRiO5pPepZEPksfxxfy3CmeB66Gv QqBA5iy7CHIIg4CjzYAWohnUtt+LgKLbsveL+d/j6YyYQ6/Fwb5hsTTiv42pldV2taJ5 HC5lUIXgezUpdF/1U2+7MA3ESR6gzxqMpFfc7cG0E1VQW/9FRNwIA4LTz1SSrqL9JGjT 3NJ+9GjUxfve5V9qe0baZlXj8SLeH878GysT88OaNFEYLCmm2C1xY1wnqaTxvN6Oc0GT AyhFcp7Mf728Lsreo2EDhBUT0IO3Zee7zEgJoeJAVDaCqJmYgXEcgzM4ZWzBxGZeGtak Oc6w== X-Forwarded-Encrypted: i=1; AJvYcCXTsMsva4O+TecRIurTM+DUIam4e1LpWOaIYAkhSlrwgfEGZO33vqcte4pYz3Z7rlSjTmaTRw==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzdRLVYBqDELAoo61H3b9KEoXKUpmO2UNo3Dh4hpy/17dofjjl0 MsMCMPNWhF0KT1N33hMSkzIaXICpa72n+nGvU7An0filcsM3Pdoo8YUcKg== X-Gm-Gg: ASbGncvPAqycHC0EdR9d239Tq5ve4UR854obI0ugwhWk9prWBJoVkEJBfcg0ixlX3lb 9DB6/0ePUR3rYdD6XQ6Tr1pm5lTlNj5F+bpzPWSH52nUISPDkCLJtEAJEkuao9NWpqR7564pBtP CBR/26qefLUal2H43mJgLNZhQinnhvIIEsoOX9zi/XxxfQFqiBmeo5TppE1DDG0jJQ8ncY/si6b uIow4LAuMbZZNdpTtLDZ8tWDfV+JsDP4M89TqXoehpc4dsDTOD07DTwZ6sAX911NqanySYQSHJz /b0Wm3BbANM4jFwtYpuNbbu0yVClTvn6aEd+x9wIi35VF8ryT704+E3oxmi52w12Xmd0rjiVd9W J8vlKflmwtHCmSOTPLKm2vKeD0g== X-Google-Smtp-Source: AGHT+IG7L43AFlHKVKzI5LAauUAST+4qVxHf2Ofe+8HxHMFCCyk30x9cbneSel8UUF9BMyNO2S95HQ== X-Received: by 2002:a05:6000:1886:b0:391:255a:748b with SMTP id ffacd0b85a97d-39ee5b98cecmr2766092f8f.39.1744821182377; Wed, 16 Apr 2025 09:33:02 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-44.net.univ-paris-diderot.fr. [194.254.61.44]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eaf4456fdsm17246170f8f.86.2025.04.16.09.33.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Apr 2025 09:33:01 -0700 (PDT) From: Simon Tournier In-Reply-To: <87bjsxi0u6.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> Date: Wed, 16 Apr 2025 17:42:50 +0200 Message-ID: <87ecxs3yf9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi No=C3=A9, On Tue, 15 Apr 2025 at 23:14, No=C3=A9 Lopez via Guix-patches via wrote: > So, what do you think? Is it an idea worth pursuing? Yes. Here [1] the description of what appears to me worth to continue. :-) Well, I=E2=80=99ve started something in that direction=E2=80=A6 but it=E2= =80=99s much faster and easier to look for an email indexed with notmuch (Xapian) than to browse my files on various machines. ;-) I think the best is to open a repository for your extension; maybe on Codeberg. Then, we could iterate on that. WDYT? Cheers, simon 1: Extension for improving Guix search? Simon Tournier Wed, 22 May 2024 12:15:09 +0200 id:87msoi40gi.fsf@gmail.com https://lists.gnu.org/archive/html/guix-devel/2024-05 https://yhetil.org/guix/87msoi40gi.fsf@gmail.com From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 17:17:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174482379031821 (code B ref -1); Wed, 16 Apr 2025 17:17:06 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2025 17:16:30 +0000 Received: from localhost ([127.0.0.1]:41259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u56N8-0008Gi-3c for submit@debbugs.gnu.org; Wed, 16 Apr 2025 13:16:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51332) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u56KI-0007wG-EK for submit@debbugs.gnu.org; Wed, 16 Apr 2025 13:13:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u56Jw-0006Kz-F6 for guix-patches@gnu.org; Wed, 16 Apr 2025 13:13:08 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u56Js-0005pK-P9; Wed, 16 Apr 2025 13:13:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1744823566; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/8lQhfxx3arJv2zCRCIfA0wOtrdtpRNz4uSMRsrXha0=; b=X0nZ5liD4jnv1tedXBi89zs/3Td9fAPaCc/iHxiSz1tTscx84kGoVLqlg74uy+uxsXcCt4 zuvITcOTSso1ZqtNvAF+U+u/UgYvQDkmz+ES6EacXvuDUx4JpuoTD39/fOqXSLGCk2Xqic 64qzKSGUi5A056CR8MhXBOA0oPpfRrW6UpieTl8ipkQsJ6WkiSY4RXGB2BzmbAH5/btV/g 8667CHaDkUwsXGFVnmnyKQ/DKlTZVzgI8DCpE24WsX2pgdpTTh36W7pFQ+j49r+R8DgjQa rIYdPCXDiyapcN3PZn3OeZy2UguCQRuN87hC2wFz/lHmJvOy378CTNvQ0uoZ1Q== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id a84ae023 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 16 Apr 2025 17:12:46 +0000 (UTC) From: Arun Isaac In-Reply-To: <87bjsxi0u6.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> Date: Wed, 16 Apr 2025 18:12:40 +0100 Message-ID: <87tt6oav3r.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi No=C3=A9, That's fabulous! Thank you for taking this up. :-) Please consider making this its own project with its own repo, and advertising on guix-devel and elsewhere. > (match (command-line) > ((_ "index") > (index)) > ((_ "search" query) > (search query)) If there's some way to hide the indexing step from the user, that would be good. For example, one way could be to build the index the first time search is run. You'll have to figure out some way to make this a smooth user experience. Remember that the user may jump back and forth between multiple guix profiles. So, multiple indices may be necessary. Regards, Arun From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 20:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: arunisaac@systemreboot.net, 77833@debbugs.gnu.org X-Debbugs-Original-Cc: Arun Isaac , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17448337858040 (code B ref -1); Wed, 16 Apr 2025 20:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2025 20:03:05 +0000 Received: from localhost ([127.0.0.1]:42617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u58yM-00025R-Vy for submit@debbugs.gnu.org; Wed, 16 Apr 2025 16:03:04 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37262) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u58yH-00023A-31 for submit@debbugs.gnu.org; Wed, 16 Apr 2025 16:02:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u58xp-0008M7-Ac for guix-patches@gnu.org; Wed, 16 Apr 2025 16:02:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u58xm-0005NW-MH; Wed, 16 Apr 2025 16:02:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=C8Y1++pjsa3e86ebQsXUAQEwxQKdV+CjIcczpCQfHMA=; b=flkTPgFGYA0bQ3j2mwu+ B62mDkMVWjNOoNhbESiB43zF0/Wo1VCyrxkgxRAFHvopfPm8OBtd37yuav80tmQmg5wzO8lKqou+B kSLylQQ4lmLAUJlOCyi0FE7JOqGfr1LB1KdqPf6uZCqfaYEJ3nz65o39B77BdqlUjDldEOKYNZ5bf 9G4K4zNpwUS61eTwB4hTVpBZCOfYJOjAxY/et7lGKoPVL0N/1pB/B4wpyJbkb3kY7LDz17DQ4TdLl PNNCQkuqlAi2WwM+/0AFrpWZzU9qjRl87KuJOaqJuldRx+GS+w58IX5dJvCmUIbKw6cvBoulQ21F8 bQEsthBd8+w0rw==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87bjsxi0u6.fsf@xn--no-cja.eu> ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Tue, 15 Apr 2025 23:14:41 +0200") References: <87bjsxi0u6.fsf@xn--no-cja.eu> User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Septidi 27 Germinal an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour de =?UTF-8?Q?l'An=C3=A9mone?= Date: Wed, 16 Apr 2025 22:01:37 +0200 Message-ID: <87sem77u5a.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, No=C3=A9 Lopez 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 =E2=80=98guix se= arch=E2=80=99 proper, with indexing happening on first =E2=80=98guix search=E2=80=99 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 =E2=80=98guix search=E2=80=99 is fast eno= ugh IMO). One thing is that I=E2=80=99m not confident about the use of SWIG in Guile-Xapian (I used SWIG back when it was fashionable and it didn=E2=80=99= t do a great job), I=E2=80=99d rather not have Guix depend on it. Ludo=E2=80=99. From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 20:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , =?UTF-8?Q?No=C3=A9?= Lopez Cc: 77833@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174483532819129 (code B ref -1); Wed, 16 Apr 2025 20:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2025 20:28:48 +0000 Received: from localhost ([127.0.0.1]:42899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u59NH-0004yR-SN for submit@debbugs.gnu.org; Wed, 16 Apr 2025 16:28:48 -0400 Received: from lists.gnu.org ([2001:470:142::17]:60956) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u59NF-0004xK-CJ for submit@debbugs.gnu.org; Wed, 16 Apr 2025 16:28:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u59N9-0004HE-Aw for guix-patches@gnu.org; Wed, 16 Apr 2025 16:28:39 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u59N4-0003YC-B2; Wed, 16 Apr 2025 16:28:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1744835296; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6brQkPgkK94rtC24ErFNOaTUQYGZ8qXw5ApMjkZGxFY=; b=cV0z1iDeRngCfCq8nBA/FLAnjeEg/xkS2WunIA0bZnGdV2YcTYDBk/RRtjtkzYaqul808d Hbj+Z1pWiAWlCTTO08HcHd+zwfZBuQk/u+V8QmppD4c38Kbf0JMw8sGtrs1JKJiKjQW2DD OHYJUMtA4vrJ5bBRTetcT1WyOH8/hl5PI5zV7v6R/ufv71RcokpEk0Umot12OfMhz8ayH/ bEh4EztXQAIInciAGM3XYo/nePCH4zXyIsHctGGdAXthe79tctstMz4GqB5XazDbNr8Cmx exIVxMaiD8gAk6bKEkqRQzPB6jyvZs2gwNYElQDuGDILv/2G9NS3LRbobHpXGw== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id 8a3c8b47 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 16 Apr 2025 20:28:15 +0000 (UTC) From: Arun Isaac In-Reply-To: <87sem77u5a.fsf@gnu.org> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87sem77u5a.fsf@gnu.org> Date: Wed, 16 Apr 2025 21:28:09 +0100 Message-ID: <87fri7c0me.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi Ludo, > 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 =E2=80=98guix = search=E2=80=99 > proper, with indexing happening on first =E2=80=98guix search=E2=80=99 fo= r a given > channel set? We might also consider building the xapian index along with the package cache. But, that does come with the cost of slowing down profile builds slightly. > One thing is that I=E2=80=99m not confident about the use of SWIG in > Guile-Xapian (I used SWIG back when it was fashionable and it didn=E2=80= =99t do > a great job), I=E2=80=99d rather not have Guix depend on it. I'm not a big fan of SWIG either. But, the main reason guile-xapian uses SWIG is because that's what upstream https://github.com/xapian/xapian/tree/master/xapian-bindings provides us with. I'm not saying it is the best situation, but it is what it is, I guess. Regards, Arun From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 21:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Arun Isaac Cc: noe@xn--no-cja.eu, 77833@debbugs.gnu.org X-Debbugs-Original-Cc: =?UTF-8?Q?No=C3=A9?= Lopez , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174483723632647 (code B ref -1); Wed, 16 Apr 2025 21:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2025 21:00:36 +0000 Received: from localhost ([127.0.0.1]:43257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u59s1-0008U2-4a for submit@debbugs.gnu.org; Wed, 16 Apr 2025 17:00:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38386) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u59rw-0008SB-Pe for submit@debbugs.gnu.org; Wed, 16 Apr 2025 17:00:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u59ro-0004kT-H8 for guix-patches@gnu.org; Wed, 16 Apr 2025 17:00:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u59rl-00030x-3E; Wed, 16 Apr 2025 17:00:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=na49Pa+owywm+TsYjcD4Hg5g1p+UVcOda/CjVBQZyx4=; b=W5ZWxWC56kiKd2BTarYq mz15+uexeXhXmtOpeIyRl55tPrrHdoWdA8aj//WMIJExmz0o8GQJsSEFdDChVYgkxdEf2v6/NDgjr INFOPhnNyRSQ0mA984D+Rk4VsGoCQkucTgaJYABVWDeJE8Cnr0FeB2C+gub71vRFKzk8FaXZmU+b2 yTUz6/bQ7UcGtziPOnWcrUSivmvwf/ZVWOj4nIw9RA2qYrkls0+nm9ayZyGvzCEAlBHHxsYWSaupr 6MzVfnq/1BUERHH2CvD58/jRnrgCLKzNnQvmRmdbGM0j43/cX88EQWv1tI2gcNANNo3kIROLyH7aT jaBrC9EGT01RGQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87fri7c0me.fsf@systemreboot.net> (Arun Isaac's message of "Wed, 16 Apr 2025 21:28:09 +0100") References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87sem77u5a.fsf@gnu.org> <87fri7c0me.fsf@systemreboot.net> User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: Septidi 27 Germinal an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour de =?UTF-8?Q?l'An=C3=A9mone?= Date: Wed, 16 Apr 2025 23:00:00 +0200 Message-ID: <87bjsv7rfz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Arun Isaac writes: >> 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 =E2=80=98guix= search=E2=80=99 >> proper, with indexing happening on first =E2=80=98guix search=E2=80=99 f= or a given >> channel set? > > We might also consider building the xapian index along with the package > cache. But, that does come with the cost of slowing down profile builds > slightly. More than slightly I=E2=80=99m afraid, even if it=E2=80=99s =E2=80=9Cjust= =E2=80=9D 20s. :-) Ludo=E2=80=99. From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 21:39:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Simon Tournier , 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174483952215009 (code B ref 77833); Wed, 16 Apr 2025 21:39:03 +0000 Received: (at 77833) by debbugs.gnu.org; 16 Apr 2025 21:38:42 +0000 Received: from localhost ([127.0.0.1]:43658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5ASw-0003ty-Fc for submit@debbugs.gnu.org; Wed, 16 Apr 2025 17:38:42 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]:47206) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5ASs-0003tK-Tg for 77833@debbugs.gnu.org; Wed, 16 Apr 2025 17:38:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=tF1629Yf+wce19GvlWhk/6rgkDx/0135PPDq5SJhjK8=; b=Kb2jDZjUPmCZaN1/OfrNe8wEJY wse1pzA53gRBbwHPUdXJZgYKsLhpl0arb24jCq4dJJVFsZgkqYpSM6qYL4Y3E6xzMNvJ14iOZ0DXw c0Lup1LjC3TCi4SAmnERPgr6ko8LWZBOtQ55dJnB5UPZ0Jj6x15yq3iMkI8mVkn3pzbQMuzqPIjjo EzWIUyauOWclpdcItxF6SVqyclUVoSlMg9sFKRWZ3UG0t2yaWv7jjthtZiyPjh7CwbSYsM8tNVMW3 4PkaeJ9Zk3BaVRDWr9GOQTtI7WMCyxdDw9lc2otlobXIPvxn4i0JEaJiU8Z13B9uvyOMEj8auh5/S EsfGYlGg==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u5ASk-005AUR-H6; Wed, 16 Apr 2025 23:38:30 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87ecxs3yf9.fsf@gmail.com> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ecxs3yf9.fsf@gmail.com> Date: Wed, 16 Apr 2025 23:38:23 +0200 Message-ID: <8734e7kcs0.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Simon Tournier writes: > Hi No=C3=A9, > > On Tue, 15 Apr 2025 at 23:14, No=C3=A9 Lopez via Guix-patches via wrote: > >> So, what do you think? Is it an idea worth pursuing? > > Yes. Here [1] the description of what appears to me worth to > continue. :-) > > Well, I=E2=80=99ve started something in that direction=E2=80=A6 but it=E2= =80=99s much faster and > easier to look for an email indexed with notmuch (Xapian) than to browse > my files on various machines. ;-) > > I think the best is to open a repository for your extension; maybe on > Codeberg. Then, we could iterate on that. WDYT? > Will do, thanks! > Cheers, > simon > > 1: Extension for improving Guix search? > Simon Tournier > Wed, 22 May 2024 12:15:09 +0200 > id:87msoi40gi.fsf@gmail.com > https://lists.gnu.org/archive/html/guix-devel/2024-05 > https://yhetil.org/guix/87msoi40gi.fsf@gmail.com There seems to have been a lot of attempts at this, do you know why they did not work? What is there to learn from these previous attempts? Good day, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgAI08SHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDDT0MALoyz08//RdFIOaNPoP422KYPi2mU+g3 zjrZsDUkmKFkVj/pGjgufIn1hZwSg3WDGwfzRnAD5Yx17/uICuxJZhW7N68BLdm2 VGaIIocUizny39N9HHXdXc0T+F4PKAmzxETmnaycDokLSqSXN8YZYz5on/fz09Ao h/Dp6sb4eMqzkSczxosChrahoAm67GUjLa1vZhwXK1C06UhI1n1F5KRkrPqtp8eW zVG36mhbl9MvmbMS9Ge51jaF5FFRnAzH8nkRxOXFVWaJiOJElOvc6EtUd4PpC85u ikgO364O3prU3jeibTZ9k1EejAeEeiSgkImaVgvc0AVeC4fms4fXCMLkhmTeU6X7 h6YWQ8QfOybchyED+5zBHVNV55muoFEorLvVcd0E5DRKEK68bmpkuK8Y3E3Je2QH 1YssVu2SNzxjq0qqVA8UlNawuPWQG1HeMrDCKp1eqdjtszW+iFSpcp2N+p++QXDG MGrLsd3uMyp+nZhBVX4opWmzqnKHYRXzcA== =M9qq -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Apr 2025 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: arunisaac@systemreboot.net, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-To: Arun Isaac , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174483999218420 (code B ref -1); Wed, 16 Apr 2025 21:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Apr 2025 21:46:32 +0000 Received: from localhost ([127.0.0.1]:43763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5AaV-0004n2-Op for submit@debbugs.gnu.org; Wed, 16 Apr 2025 17:46:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:55948) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5AaT-0004mf-FP for submit@debbugs.gnu.org; Wed, 16 Apr 2025 17:46:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5AaL-0000iz-Hk for guix-patches@gnu.org; Wed, 16 Apr 2025 17:46:21 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5AaG-0005Ii-RZ; Wed, 16 Apr 2025 17:46:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=24p5mO5ZzwaFROFGmp6VP0bPilSQ0Jx6ySYmKg3vC8o=; b=HFRUqw65nVrvQYW6NHQAbD4WnF PmdeywlMmse5ADK6lvh4PaBKjS0ouMivRP1fz4fXZAdNoYF2kvP0EdpKVMXvVqtORZn8CDxSjeM4+ odY/wqrAi2dgbVQPS99ydFGf1/taKQ8S0OROrbIJBUoyXfmNR/LuE2Jsw5YM1otseYuvW9VRGMPXo RbhSwjvWW02jj5rk2eOhrml6A76jZgLKmpKpSCWE4IhJUp/O1UJNazZX0vqnSX7wPrvGHrrRRRpFh /i3DDi8E4vK5lsVW+kUx2+vGkPyjAMOOo+bDuWKTI9vRjecnzvgZem+AadRV/xXrFyHc36QfZrF28 PGXMHysw==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u5AaA-005BuC-PO; Wed, 16 Apr 2025 23:46:10 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87tt6oav3r.fsf@systemreboot.net> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87tt6oav3r.fsf@systemreboot.net> Date: Wed, 16 Apr 2025 23:46:07 +0200 Message-ID: <87zfgfixuo.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Arun Isaac writes: > Hi No=C3=A9, > > That's fabulous! Thank you for taking this up. :-) Please consider > making this its own project with its own repo, and advertising on > guix-devel and elsewhere. > I=E2=80=99m amazed by the interest :) Will do when I have a working extensi= on. >> (match (command-line) >> ((_ "index") >> (index)) >> ((_ "search" query) >> (search query)) > > If there's some way to hide the indexing step from the user, that would > be good. For example, one way could be to build the index the first time > search is run. You'll have to figure out some way to make this a smooth > user experience. > I could schedule an index in the background and run the normal search =F0= =9F=A4=94 > Remember that the user may jump back and forth between multiple guix > profiles. So, multiple indices may be necessary. Right, I=E2=80=99ll think about that. > > Regards, > Arun Good day, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgAJR8SHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDZd0MAJKmNkK5y7IDqAUqBFPoEzfimg9pUemD +nSXvFFyinVD/9WatsoEv1cDXyQVgbEV47uELN1fbf/26uKQXRGAZbQATVvZXEs/ gYdXXgjJuJCuFmX/bixMVSjn5pP4WjjCrBesCkiWSMlSvUhQJ25zBExm//SYNwOD KYNZcWCEeSTmeR/XRKkQxM6AZOXs+LvHPT+Qt66Nkop+gArNQ1tmLcESr0BIfs/u /mB68FTmfU/fm8szkVz8mdBzYzM6Ktrr1/R9DE6O1C/CpdLd84tfF+D2JPiHG9s/ d9iVzCdxnOVI52Oz90Xn6eHBrq46tV58vTyAN9kBnM+9Qd0s+0Bv+/4In+j7Ksi+ qjBKQAM8IXr0j0rLh6OsDhgpmezfMWws8fV4GaRAW+y3ETsleOVKbrDYUyvXbBUl aEkzph6QFhSvBAes3izhdD04KqirZZmHYkgQgLbUJzI7QBmp+ZCQnjfPyCGrlbHn eHU6qZUXb7mOPhXNSNx6RUyPLirpxDVddw== =Tfkk -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Apr 2025 11:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?No=C3=A9?= Lopez , 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174488828122063 (code B ref 77833); Thu, 17 Apr 2025 11:12:03 +0000 Received: (at 77833) by debbugs.gnu.org; 17 Apr 2025 11:11:21 +0000 Received: from localhost ([127.0.0.1]:45978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5N9L-0005jV-Cx for submit@debbugs.gnu.org; Thu, 17 Apr 2025 07:11:20 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:53506) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u5N9I-0005iN-UQ for 77833@debbugs.gnu.org; Thu, 17 Apr 2025 07:11:17 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-43cfba466b2so6315375e9.3 for <77833@debbugs.gnu.org>; Thu, 17 Apr 2025 04:11:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744888271; x=1745493071; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=5eeTjLeftgqrjFKG6mTcwgUgIectKS/Kdh3CCgLjizw=; b=gvrt6Co+6dYRd3E8+VMbstMwgy4nR+vPk89wJzAtaddkw3ujWemUZB/axBLyC4ktR7 gc7x3MUaayHr6+DAb89SJedlcnFmLLAPL1x/Eg28Q4QJdNGoVKJHzgielsg42VYmAuzj L7kvAtfnHyatwQsSDRMyaKXDr+a/IcALh7D79hlxrNxm9l7XahrNOCTD16NCKWftU0Jj 5kNyiENdID8lvpkpX1r3jMZ9OUol+ngyVDrtnVO8MkEV5w5ZLAnRw9amF1Cmp1uk4pED qDSViadLx/7xJFxrg2tM9Jw/sP3gskQ+Kv9bcgpaXXXUpC01MknEAPq0yGRVYe9vBHtZ jEIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744888271; x=1745493071; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5eeTjLeftgqrjFKG6mTcwgUgIectKS/Kdh3CCgLjizw=; b=hOByf8fTJxCOECSdMkkDfjAea8i9LQ8mrsOEB7RV9il1GBl1fhmrFwSxpyJ/iqiiwF M1+Uf1AzZFFnZ/WfcYsJ+e1w9f2xRBW9urzDLPG1w5qTprEFfT8Ag8XqzjKsLkBIvm76 8ScKLpyNIyAGhzoqj4IlH26B1L0E9uAqSWOCEOASdgZJdgNlNawxa+w7di2Bk0O+CJuK ICnlpQEpMGs87dhA7sk6qX6ns5NdlDZ9w0+dglyCIWubuf+0LRHdTuMAa7RFAoCdjkKV EA5XPfKGfIfCLbqvnOxJsR00PsIYCCJEm859IyEDKuIT7RngMqQZDJ4cf0mWUR3e9Tyv eoGw== X-Forwarded-Encrypted: i=1; AJvYcCWgjECzu/iSy9KURg0X1iel/pCZ+jLoMviABiFg3AwFlx7St3hHmWNWtTzwBd0R6LDLm/WcQA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Ywpm861gHfXkfBAhsFCuxcC3R+ns5Wo84QJPVDm0gMEMTgnX9dK OPjuisOeyzf13/Z++72W+9f9RNgCZr43mbJ5kiR5MwevIxwkgMDp X-Gm-Gg: ASbGncv3gr3WiyZa1GqZg9pOciPVRXMj9gIX8svCizrhCJRxCFNKBd77WE1a64FEyW/ PU7NmaeAa6HDkzwH9319GZ9q0qUT3h+GfnNnNGWSboWRODctD8wi+GNGgj7MnozTrYS6GuEYYbg sid5+vSFxCVBJdCkd5gDT38Mqyyck2ZdbXu5NTsdkWSr6nQivYzb5AfUcBvfSn2E2ToAEKXOT7X Dk0llvCYqKsEXVf9I9WiZjJJQudgKP6oMrj8zZxmV+luxKAB/JznEdZU2mW0VuC7FxoHuR1aQaj zVDrMdLkIqD4ttBRTgMB8w96K6uOOOagjYm56bV5h7GgpN4wQODtxB9SeO7cEZ9VYK4Fr0BKTeD FFgn/+Z6Xq4iOoWQRYrPKiUfCYw== X-Google-Smtp-Source: AGHT+IGQfm4T2LR1bv0Lrv2WPM563cvrC+lCDq/zhljTkukNaHtphyoRI6HmX0sGXAdWr7y+f495Yg== X-Received: by 2002:a05:600c:8707:b0:43d:45a:8fc1 with SMTP id 5b1f17b1804b1-4405d5fccd5mr57454575e9.4.1744888270586; Thu, 17 Apr 2025 04:11:10 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4405b4c82d6sm50747635e9.8.2025.04.17.04.11.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Apr 2025 04:11:10 -0700 (PDT) From: Simon Tournier In-Reply-To: <8734e7kcs0.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ecxs3yf9.fsf@gmail.com> <8734e7kcs0.fsf@xn--no-cja.eu> Date: Thu, 17 Apr 2025 11:58:47 +0200 Message-ID: <871ptrp0rs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi No=C3=A9, On Wed, 16 Apr 2025 at 23:38, No=C3=A9 Lopez via Guix-patches via wrote: > There seems to have been a lot of attempts at this, do you know why they > did not work? Why? On my side, procrastination coupled to other fish to fry. Or maybe we were just waiting you. :-) Somehow, I wanted to clean how to write Guix extensions before. Recent discussions with Nicolas (Graves) seems a very good to resume all that! Thank you for pushing forward. Cheers, simon From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Apr 2025 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Arun Isaac , noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174488836322609 (code B ref 77833); Thu, 17 Apr 2025 11:13:02 +0000 Received: (at 77833) by debbugs.gnu.org; 17 Apr 2025 11:12:43 +0000 Received: from localhost ([127.0.0.1]:45987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5NAg-0005sa-I1 for submit@debbugs.gnu.org; Thu, 17 Apr 2025 07:12:43 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:55539) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u5N9L-0005ih-8y for 77833@debbugs.gnu.org; Thu, 17 Apr 2025 07:11:21 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-43cf257158fso4510725e9.2 for <77833@debbugs.gnu.org>; Thu, 17 Apr 2025 04:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744888273; x=1745493073; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Y10Pes/t9oIDNoLzoieGe+vSrwLF0NFQyNSokKZIBtk=; b=K+td+C9+UtG2Tr4j6KoVRgLFwTdwBMdE0u4b9GIGZkXjD1A4sopj5LUB6AvvVPz3Zj M7Oq3rTk0lQgfNwYjnT1Ehmac75HhpdC2Z2pHjh1EPc/yDbAi9QfT6B9ICFYRGc9UhRz QxBEhgqshgvgqh13mKjippS2hg0hVA28lGPcPOy2cz2VvGgbqPVjr6gJSJ3LNL3FELPK kDYzVdyBpmU8v+is+TogYJIpccVb9jfNCUefk7JbOTrteH0gwIXc8Y2tpjND4NAKVN6S 8iC4YKrazW3Vv5Z8B+I3Loz8zTWyYdJPBaFuh8WIhzVYwNhos84YGq+OiTxG2+4HG4f8 Q6Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744888273; x=1745493073; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y10Pes/t9oIDNoLzoieGe+vSrwLF0NFQyNSokKZIBtk=; b=DpJXRpOHYNugqn9LFFITMDnzEr/hL8hPQz+bD5qlt9w5Xkn8zdc2zqNAjxaB3D9xAh g8rpwo8N+9mIIZeIUIEejrajBeVFHaFmGJwtNj16BOS2kpY7jMytvNL6r+s6G7almExw wgoTpy4b47JnU/cEiU/i/6mBa/GR/VBWxsVer3jz2JxrbKJy6vGGIwJEnMs5aGcHG8/K 1Y2y8nUm/7RTUbESDB2A9SHCoYQdkf+1sfDrYACp5XunZHsXglc0IEZsomzPscnCFvCc UW7NVs7SOzP3Fv/N02rKMvK9qkbaLW5TReyW/Tua/iduA6ax3Ft2AAieHMpOr26kuAdh XHrg== X-Forwarded-Encrypted: i=1; AJvYcCUpaFhHnD+tzJR0AyrUDk/sjwfakvVjdDwFgdRz0Kipah1vpkhMwSEIeyH8osM6iZJOEsiROQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxhtDbJv5PHLawXicQh59R8J5/vpruo2NFCfmZw18f1D9GaubRj mTaAsCnEyBQNIYEFf9X4izOnSXavdEDaWIYAYw51xmyZtHg73O5U X-Gm-Gg: ASbGnctysu04U5Qi9jspwpHo/uIKxEI1Ly8UC0WSoSIO+SyxZ5s991ZowNajfcm1AyD K7M4qvfCbXfkf3e70aWDDGwy2jnWZcakpr2asPeysjFeXK1/AH65bcEyp67oUH4zOo27NdTZ23w nRQGFTPdbd5C8evYCrjcaiL0fEBX3GaDyZln0W6IP8z/tSHFy/5q/aH3c0+D20cNCcWr5k8MY2/ Yi/KJKqzWrQtwqB0D5sRYkvx/4lUC4dZ24Cb5MciWB9RCsUyqf+2rIuiXCkzIm/pmvHvY90Zjab /hwOzbCDKQVXeCDQ8S4MF/vIC4IQYqB6GSegHGz9MfnWudXqD8Y7BI5WzoAlI4e1UWrgSOvTJYC NzsKqvD6O6zOlqCCnYwo4PC6g0Q== X-Google-Smtp-Source: AGHT+IGpv1P60bupsiPLhHoU/FQciHZQkzyy98tEDTBOpnlUyxp575G7X3PsObEXN9CnS+zl/tYTag== X-Received: by 2002:a05:6000:1867:b0:38d:dd52:1b5d with SMTP id ffacd0b85a97d-39ee5b1307amr4504780f8f.4.1744888272931; Thu, 17 Apr 2025 04:11:12 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-47.net.univ-paris-diderot.fr. [194.254.61.47]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae96bdb5sm19497702f8f.21.2025.04.17.04.11.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Apr 2025 04:11:12 -0700 (PDT) From: Simon Tournier In-Reply-To: <87tt6oav3r.fsf@systemreboot.net> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87tt6oav3r.fsf@systemreboot.net> Date: Thu, 17 Apr 2025 12:37:34 +0200 Message-ID: <87v7r3nkep.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Wed, 16 Apr 2025 at 18:12, Arun Isaac wrote: > If there's some way to hide the indexing step from the user, that would > be good. For example, one way could be to build the index the first time > search is run. You'll have to figure out some way to make this a smooth > user experience. Well, the design isn=E2=80=99t obvious to me: that=E2=80=99s a typical case= of cache invalidation problem and we all know, there are two hard problems: naming thing and cache invalidation. ;-) Somehow, the best would to have the ability to hook =E2=80=9Cguix pull=E2= =80=9D (or =E2=80=9Cguix time-machine=E2=80=9D) with this indexing step. Currently, I= do not think it is doable, is it? But that could be helpful: trigger some actions (hook) registered by some Guix extensions. Well, it seems out of the scope at first. :-) > Remember that the user may jump back and forth between multiple guix > profiles. So, multiple indices may be necessary. Yes. Today, I=E2=80=99m more interested in being able to search in all the history than in having faster search. :-) I mean, I see faster search as a collateral =E2=80=9Cdamage=E2=80=9D of searching in all the Guix history revisions. ;-) Somehow, what I started^W failed =E2=80=93 because I=E2=80=99m a procrastin= ator ;-) =E2=80=93 long ago was to be able to substitute some Xapian database. For example, the extension was named =E2=80=9Cguix chase=E2=80=9D, IIRC, an= d I wanted to have =E2=80=9Cguix chase pull=E2=80=9D which updates some local Xapian data= base. Then, I could run =E2=80=9Cguix chase search hello=E2=80=9D and find various vers= ions of =E2=80=99hello=E2=80=99 with some associated Guix revisions. Bah in the mi= ddle I entered in a blackhole. Whatever. Today, searching across the Guix history is really annoying. Somehow, I do: $ git -C ~/src/guix/guix log --format=3D"%h %s" | grep 'gnu: bowtie:' a47a90b900 gnu: bowtie: Remove reference to %outputs. f336cc4fe7 gnu: bowtie: Replace invalid characters. e5a26a1f02 gnu: bowtie: Remove trailing #T. 2ec601580b gnu: bowtie: Use TBB 2020. 21c837405a gnu: bowtie: Update to 2.3.4.3. 06e372360e gnu: bowtie: Use 'modify-phases'. d6e63cf31c gnu: bowtie: Update to 2.3.2. 2642231b39 gnu: bowtie: Update to 2.2.9. 0047d26a22 gnu: bowtie: Update to 2.2.6. 241e122193 gnu: bowtie: fix build errors which is not super handy. Well, it was somehow an idea behind the Magali=E2=80=99s Outreachy internship implementing some =E2=80=9Cguix git l= og=E2=80=9D: make it a bit more handy. Anyway. Thanks No=C3=A9 for working on that. Let me know where is the Git repository. :-) Cheers, simon From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 17 Apr 2025 11:14:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , =?UTF-8?Q?No=C3=A9?= Lopez Cc: arunisaac@systemreboot.net, 77833@debbugs.gnu.org Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174488841022899 (code B ref 77833); Thu, 17 Apr 2025 11:14:04 +0000 Received: (at 77833) by debbugs.gnu.org; 17 Apr 2025 11:13:30 +0000 Received: from localhost ([127.0.0.1]:45990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5NBR-0005xD-LW for submit@debbugs.gnu.org; Thu, 17 Apr 2025 07:13:30 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:60566) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u5N9J-0005iR-Uv for 77833@debbugs.gnu.org; Thu, 17 Apr 2025 07:11:18 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-43d0782d787so4452005e9.0 for <77833@debbugs.gnu.org>; Thu, 17 Apr 2025 04:11:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744888272; x=1745493072; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=71xzlkSLEw/ssL6CHEdi3aCKzOGFAJYAnJh5W60DQNY=; b=JIGGmMv/9cQPr0V+E34Pf0+NGHgGCL6nj5IdqN5+wKpNCo2fh1e8jizyYDRlnwelom IckpXjJ9sHCvkCkgFczRRbEt8wo76omKN/XuAjqSKvP0bMYbCV5k1iGxn/0D9k636wpM H4KYvCN3+tATIZC+cElBRipWq4uRRaDg9v0yANLs741HPafvGsr/PsqLwwTccYfMvwAA WbH/bA7kb4GtDtKDiaMsC3iAROh3D/vvxLiBc4FKg3qNA8aJnvdeML3GSfyVJ62mNnwg t78PqH22hVNAoTX6seS9Jw3lSzu77MZY5j7WPcOYhVOO2KLnad3sy3i4FD7cV8aYDpcn s2+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744888272; x=1745493072; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=71xzlkSLEw/ssL6CHEdi3aCKzOGFAJYAnJh5W60DQNY=; b=eYQ6hpVVV67byMjVmjJEVGGRrhBtebtL//mHAxBPGqpo2OnWv05PHU2qxMKHuxdixZ xESPSnYMT4fUafomQRxArlmGAnh/DMwhtsXkotDssFQpdjucbyyRgbVmg8gf2sOa/fQH QsZXENKss2MLecs2cuqizZJlYD6VHDF+Lfn86Fzgovb+tHy4NW6K6Ph3DgW1PycPHhxi yJ8LHThCL1aoPtmRx6jhZSrih11WjKLR9b3uRYS+HN0PSZIczamaEukzsNog/Ejv/oDG Aaf5JvANUNQxgRIole73NfjJjWheMwIgRuuqyZOX/lIj0IWD5bolhwEDSOSaCMlBr1T/ xvwQ== X-Forwarded-Encrypted: i=1; AJvYcCU/Dadd4P/OcDOKZjogB0oc+cWuTQPCvGWgAmpoue2FP2NfJElIFQearHmC40bCmx75n+1qZA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwsIhR1+OXBFVw9Fzw5r0HP+b7e8y9eUTOGFNKmN8Q513DOMIJ/ NgykdYGGOd6rg8u4GVLC9BAXkTbTUimtwfVcHmfrvNbRo7TyrzCQTpyf4A== X-Gm-Gg: ASbGncts3X4MIfYqSzL1LvVP5IjS73emF85mvAPvaFOi1SCzyAaLza/3SE0EXHMC7m0 2bOPn8SGgsRNMAd6vNO5AI0Z36LQX69loyFYXkTid4omiM0ItT806Gvk9wLT7J308fEvSPlNz4e rQBkzL7f7MNc9rf3NBD7qtzSZYKH2aR3qHxzh72TU5DiWzjnkB5xPo2c3d3RINXX2LQFAvdQ4gL Z3pi2v+lMz1rJIvk90uq3M0YdUyEknb054uvgV3GfP4gPXnsfAljWZDdEcDddkJrNaBUTMdeoC+ nk8gYxzXfuNiRQOWXkqfbtkMld1JwKd6/M1JQz30MXC57pDi2wZiCxBCzoBoQQKDSfD5Qe4Joym tPjtftKDQwkBr7qyjGu46mf8NLA== X-Google-Smtp-Source: AGHT+IEVK9HHxBfxS0bbM8c1OFuZRIpJ00LY2Ulo0amVcwV2JpxNlias1cvPlrJ3ATocweqWXofIMg== X-Received: by 2002:a05:6000:2285:b0:39c:2669:d7f4 with SMTP id ffacd0b85a97d-39ee5b8b828mr5103039f8f.43.1744888271638; Thu, 17 Apr 2025 04:11:11 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-42.net.univ-paris-diderot.fr. [194.254.61.42]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-39eae97c243sm19995027f8f.59.2025.04.17.04.11.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Apr 2025 04:11:11 -0700 (PDT) From: Simon Tournier In-Reply-To: <87sem77u5a.fsf@gnu.org> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87sem77u5a.fsf@gnu.org> Date: Thu, 17 Apr 2025 12:04:15 +0200 Message-ID: <87y0vznly8.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Wed, 16 Apr 2025 at 22:01, Ludovic Court=C3=A8s wrote: > 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 =E2=80=98guix = search=E2=80=99 > proper, with indexing happening on first =E2=80=98guix search=E2=80=99 fo= r a given > channel set? Adding Xapian as a dependency of Guix would be unwise, IMHO. I would prefer we take the other direction: having a light core Guix and add around some extensions =E2=80=93 at least as light as possible :-) =E2= =80=93; instead of adding more and more to what comes by default with =E2=80=9Cguix pull=E2=80=9D. Cheers, simon From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Apr 2025 22:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174501409211713 (code B ref -1); Fri, 18 Apr 2025 22:09:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2025 22:08:12 +0000 Received: from localhost ([127.0.0.1]:53171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u5tsW-00032I-FA for submit@debbugs.gnu.org; Fri, 18 Apr 2025 18:08:12 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35750) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u5tsQ-0002zH-QE for submit@debbugs.gnu.org; Fri, 18 Apr 2025 18:08:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5tsA-0008Ra-1r for guix-patches@gnu.org; Fri, 18 Apr 2025 18:07:46 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u5ts7-0005Y8-RF; Fri, 18 Apr 2025 18:07:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=DNagajOs3YGszK99V4ie1vZuW+fJ2ooi6dnKDS7AKes=; b=Suq6qDiCrTNgq8gu3u5HhRf7aY I3e4o3VpMBNjb4f3/8WVn/WIYeMBu0gOplYi1/HhZdFqphOKZH1ppgGMmeIYBHLaFKiqUPRefrSHK yYZC8eiCUWO8PnLIhbNoEWX8w35GoyHFhBTKjIra8l2sfUK0MManbGq+EuV0NyMOJgYYNZVmYykGh 1lmTjRcNjd9YEfChpPKjXPF7Alh0oWnzjVHquEDl3I/Xh3H+VM7yPmBhpVHf/iqWQ09WlqJGjTq3C CevQctSUiI5n01uKbUnY30K4DeIaHHGNkf0Kq6PxmL0stzwvm0cYAf+4l5S7V80kFTR0wOIJR/TEm Xmqm7a8A==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u5trx-00ETro-KX; Sat, 19 Apr 2025 00:07:33 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87bjsxi0u6.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> Date: Sat, 19 Apr 2025 00:07:26 +0200 Message-ID: <87ikn1dsyp.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi everyone! I have finished cooking, so here is Guile Xsearch 0.1! It is available at https://codeberg.org/Baleine/guix-xsearch. After doing a local clone, you can use it like this: =2D make env =2D guix xsearch --index =2D guix xsearch Please try it out and tell me what you think! Comments on the code are also welcome :) Good day, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgCzR8SHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDGLIMAL3hEn7a0t7RynX17XU48kwReMUyo1Wj N3rsMcpMZu00nd1RBwMY5TBGYDbnmTVKvq0BaT10QcKVvOdzP6IUh5K8lIw0/Q2Q XlRyyVJKX7fDhehE8uMmPbg8PNPzwt4OyW0KBg6rUI0r38JMZaCubKcffSUz7rc0 X9O8sCjPPZ7ggUVcY7v/kZp03hJmtfZfqfvtca764kaneZGjoXWRan3491t4H2C8 2eBslOj4V44k/ZQYPO/TfzzlGd/EeVDAMyKu17VKy78wguDwgC5r3QsjUrFaz+yE UBPMmFrrrLeRtZ1MHxuATfQroFugbeOZLXrM0N21MFoBQ8G7XWYB/NdTjhfGXT+Z KV3HBM8XOdtMspEBDmZGXJ30zD8W70Z/fdrjkvzkpGc8GSi5KLkYduGkNaUcuYSB 8fIcQr7yR2xEw78N2DRVM1AcLsnRJ5crfU7Z7oSRg3wQlG/E4wCJ/zI3F6A5Ec28 ZIH3BuIwsiUXK6MudeFnWffJA3hu+cVyEw== =3wz6 -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Apr 2025 09:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: Arun Isaac , Simon Tournier , 77833@debbugs.gnu.org Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174505515115260 (code B ref 77833); Sat, 19 Apr 2025 09:33:03 +0000 Received: (at 77833) by debbugs.gnu.org; 19 Apr 2025 09:32:31 +0000 Received: from localhost ([127.0.0.1]:58038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u64Yn-0003xs-7E for submit@debbugs.gnu.org; Sat, 19 Apr 2025 05:32:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35478) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u64Yh-0003wG-1h for 77833@debbugs.gnu.org; Sat, 19 Apr 2025 05:32:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u64YZ-0005BH-6A; Sat, 19 Apr 2025 05:32:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=0qEsGpXcSrAKpIiYT4ktiEINyNMbhSM0LEeXoGl2Qew=; b=mKtfku+/bZuQ6z1OC4LH kJPQcGpKLMISbIkju7ew82L8u8w0JhWtXejhTIJMRgDT0Q1sv3W6abxxNvQq+6kHADao31xQEAauT kxl/leeBUHJqAt3ERYXVQURlQVsu+TMwQkKVZKwoTc+vqd8PNYQ+ohlcWBiCUjBwpG9/OWFDSk7/3 kpN+B9zGGfG0e7azYs5UJBo0LgYjJLOEBRYloNJzgB6b3cj836OOwltRbRHg/tOTaqsZugsT2WM0B FBJGSUCizfmRqVzMYAGeM+VdYbs0lZOf4JLovld4/o/SyMgHkzDj/gMYG51QelDCAOo53bo1GvVvX iQrx/tCwvg/xig==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87ikn1dsyp.fsf@xn--no-cja.eu> ("=?UTF-8?Q?No=C3=A9?= Lopez"'s message of "Sat, 19 Apr 2025 00:07:26 +0200") References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> User-Agent: mu4e 1.12.9; emacs 29.4 X-URL: https://people.bordeaux.inria.fr/lcourtes/ X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 30 Germinal an 233 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Greffoir Date: Sat, 19 Apr 2025 11:09:17 +0200 Message-ID: <878qnwikle.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) No=C3=A9 Lopez writes: > I have finished cooking, so here is Guile Xsearch 0.1! Wo0t! > It is available at https://codeberg.org/Baleine/guix-xsearch. After > doing a local clone, you can use it like this: If you make it a channel, people should be able to add it to their channel list and then =E2=80=98guix xsearch=E2=80=99 will work out of the b= ox (see commit 60c41183d9c47fb25270fe810d03c0785406faad). Ludo=E2=80=99. From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Apr 2025 16:04:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17454242086871 (code B ref -1); Wed, 23 Apr 2025 16:04:04 +0000 Received: (at submit) by debbugs.gnu.org; 23 Apr 2025 16:03:28 +0000 Received: from localhost ([127.0.0.1]:58464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7cZL-0001ma-Ac for submit@debbugs.gnu.org; Wed, 23 Apr 2025 12:03:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:57082) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7cZI-0001l4-SE for submit@debbugs.gnu.org; Wed, 23 Apr 2025 12:03:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7cZC-0004Ul-7E for guix-patches@gnu.org; Wed, 23 Apr 2025 12:03:18 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u7cZ7-000860-Mj; Wed, 23 Apr 2025 12:03:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1745424172; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6tR/rYVi8mJFpk57LOJpKLrDJ7lTaSPUExACX5zVCeI=; b=oJlEtmerY/ZBPQUtTdv8Ab5sbnXTQyKKAJOGL3qnwAHfn8+0P9QS2GZfTnjJV54fgaHpBC 4H9YpDnmJ6h2BkLUY05qfhjHnGQjcZzjEHLmSbTsHw9unMJwW2/u0VuCxqM6jnosv+YJMt fEz9lRmiaBMT7jkIt15e49FZdzPnDfV68gX1lcjjPhAPI4LtAYSHEsF8kUMjzfxwshiFQS crVqA2iQvACGQsqpOXntfPn9nYSrroiOH5DIYvTyzQ+/UyBn3woMvwvcHhgWG27N1K+Gdo gNvkJ8rP7Zu4KqgILzJb4sgJUcPfozlXGwzhVtNGcs+xLgIkQe4TeaQ8NtI5Kg== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id e058465f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 23 Apr 2025 16:02:51 +0000 (UTC) From: Arun Isaac In-Reply-To: <87ikn1dsyp.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> Date: Wed, 23 Apr 2025 17:02:45 +0100 Message-ID: <87msc67tne.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi No=C3=A9, > - make env > - guix xsearch --index > - guix xsearch > > Please try it out and tell me what you think! Comments on the code are > also welcome :) Lovely! I think your comment at https://codeberg.org/Baleine/guix-xsearch/src/commit/1a246259d9241a3ca27adf= 807169187d941810d6/src/guix-xsearch/search.scm#L35 is a good idea. It will make the search even more blazing fast. Regards, Arun From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Apr 2025 16:04:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , =?UTF-8?Q?No=C3=A9?= Lopez Cc: Simon Tournier , 77833@debbugs.gnu.org Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.17454242327118 (code B ref 77833); Wed, 23 Apr 2025 16:04:07 +0000 Received: (at 77833) by debbugs.gnu.org; 23 Apr 2025 16:03:52 +0000 Received: from localhost ([127.0.0.1]:58467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u7cZi-0001qY-9I for submit@debbugs.gnu.org; Wed, 23 Apr 2025 12:03:51 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:56154) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u7cZd-0001p3-Bh for 77833@debbugs.gnu.org; Wed, 23 Apr 2025 12:03:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1745424218; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/pqeNoUdBxcOeq802aAuEueJ+pWmNdzHPAe9HszsZJs=; b=TuBVY9nCfx+KeXjZ30DtmKZx7QYnyQU7TfN5TIzUJcaiTJYW9nETgCn9NsGW+53WBpPcHB 2lJSM2h/VvSq/F5a/3YULd2zO3k0+inhDAFn7NL6gRXiW9LckKSb9rSObcixSlEea2OQND pglfDqARWh+W0TpMTc+3/VGDVXxlotxBUFFAWkh1bjsFRo5FCPm61ktKY0nWxNDhtFowA6 aATjzGC2wwdTj3cOzMKJ12ov5O5lX10L0s/sUS80dmNjy0wwZGWaos768neZMBMff9G5MN nT2PYmt0Yedb3JEJuTnjTdxkymZWYzFZQ+mEWLRC5eUxxS83s4AQlOkPDv9TMQ== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id 6be2eac1 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Wed, 23 Apr 2025 16:03:37 +0000 (UTC) From: Arun Isaac In-Reply-To: <878qnwikle.fsf@gnu.org> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <878qnwikle.fsf@gnu.org> Date: Wed, 23 Apr 2025 17:03:32 +0100 Message-ID: <87jz7a7tm3.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > If you make it a channel, people should be able to add it to their > channel list and then =E2=80=98guix xsearch=E2=80=99 will work out of the= box (see > commit 60c41183d9c47fb25270fe810d03c0785406faad). Good idea. +1 to that. From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Apr 2025 22:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174579160032112 (code B ref -1); Sun, 27 Apr 2025 22:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2025 22:06:40 +0000 Received: from localhost ([127.0.0.1]:45563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9A8z-0008Lb-Tl for submit@debbugs.gnu.org; Sun, 27 Apr 2025 18:06:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46804) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9A8w-0008KS-Dp for submit@debbugs.gnu.org; Sun, 27 Apr 2025 18:06:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9A8q-0005jK-Hi for guix-patches@gnu.org; Sun, 27 Apr 2025 18:06:28 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9A8o-00084C-3w; Sun, 27 Apr 2025 18:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AmgHWxpC0YGF2DlxbMZj8o9oA6sFBfAp3gNvFFj424s=; b=SjzhmAv43jdG8+StL2YMr6Y3FV L8zBYY1/kr8y2j/HnKpJa1dbyd/s0CxMqYCvLBV1U7J8I1OuYEladZI19kWT0IUGCEVvNb76NgPWO KKMoYNT8egzDO4JFdv7gDDBafVSTiJS/8R9+/jX7esLOFNWoIa2D4xhwdiQjJTqFUqlNPZUu2J0tm gvt6A012hrNOS4D99qOinaUzxm6b1GnkbNOTei+MNyldHH6QI6ALzZlhk5lE5l604RrQZdUpURgsr jY2MB/sdrayD1ws8pWHXsDezpp81DmFTlDwM+ddWQdF0HNDN12IEpIWPxuyZGLXv3YSbkOJF7EzvV PLhXrOBw==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u9A8e-00FYII-VG; Mon, 28 Apr 2025 00:06:17 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87ikn1dsyp.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> Date: Mon, 28 Apr 2025 00:05:59 +0200 Message-ID: <87bjsh9s54.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi everyone! I=E2=80=99ve implemented everything I wanted, so here is Guix Xapian v1.1! As proposed by Ludo, you can now use it as a channel, detailed usage instructions are in the README at . After installing, you can just run guix xsearch --index and then guix xsearch to get <0.2 seconds search! New features compared to 0.1: =2D Use as channel. =2D Separate caches per profile. =2D Faster search by not loading modules. I=E2=80=99d appreciate if you could try it out and see if it works for you before I announce it on guix-devel. Have a nice day, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgOqk8SHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDlyoMAMRGz4ryo959J6k8w6zkpGAVYtjQQ/1b QjZvtxoTk3463DUKY8A1BJUF7In9Oqpjt/XJvJdmZmKm+Lx3v6pWO1c3AOe8cOyo H20UZkZTh0NsVfB2SQU/74yhyk4wYDNBdycHVR33mOMYmwPwX68/pxvYjdhjnRnU OzH8VjnUs6QdccZDB4IhNyTa+HPLy+eJHrA2pEjd3oSqjFtzoFnKOA7OPsNxvCl6 crQbStkMafNX0s2Whhtx4p9Rr3x4VTufpREeG/izqaqSgkyoNPlyAzF8nD8hEulz uxVaVWKLbS/Nv+8s6Ut2esMoKDQ6w/Ik9OFrbRdR1n7gpOlLklF1o6DkwXGDQ/RX JmAV8IJdfGj2Sd8o+tpVUZimvEfEPZf/mDNQe7EWMkDxn7BKKEutONvDtV5D70UU 7n+fSNu73yCqcZM1ZvOJzu8F5CjPEogbH6/3Ci2lK/JuELOiXKPN6BQVFi0TOGnm BGKpKzW1++XVUcbGk3mYeh+3W/HUdDj+sQ== =oLXW -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Apr 2025 23:13:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , =?UTF-8?Q?No=C3=A9?= Lopez via Guix-patches via , 77833@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174579558216483 (code B ref -1); Sun, 27 Apr 2025 23:13:04 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2025 23:13:02 +0000 Received: from localhost ([127.0.0.1]:45897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9BBE-0004HQ-9y for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:13:02 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47448) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9BBA-0004G5-UC for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:12:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9BB5-0005w9-9j for guix-patches@gnu.org; Sun, 27 Apr 2025 19:12:51 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u9BB2-0000dw-F6; Sun, 27 Apr 2025 19:12:50 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D723025D03; Mon, 28 Apr 2025 01:12:45 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Og7HNnpQrC_l; Mon, 28 Apr 2025 01:12:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745795565; bh=sxNg17vwsTPFeXYtJ5Z181e7B+YJCxgstsVFkBfQlmo=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=GgyPPFsLhqigpwhq3Ig8qUcCOzrR7ZTMZGT8saEFV2zkD6bzynVKUItRNZ4lcAE0c lKd071B+hdUiKgW6nJ5R5SV2V2o6s34Et9DsLXGp7XH5nna4CIidwSUCy04VUw4xlo EhF6BWDJcw8TBPKKeqJ41uU4w1+Ru1+elCRQEv78nMusWP2qpsDjbPFejNaOolNCjw ecdNcEDTu+X0uNmICZrfaacXQttHJVNUtUgK6SJHKHhbNGMYh1+s/tlfEAkP010d0P jv2fSx/OVawVZSwAe/8t0bQaBCULoOyB0oFkXodNVlOc28d/0oN6LPcatA2crUDw1n /PbOMNEC4i/ww== Date: Sun, 27 Apr 2025 20:12:39 -0300 From: Gabriel Santos User-Agent: Thunderbird for Android In-Reply-To: <87bjsh9s54.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> Message-ID: <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=gabrielsantosdesouza@disroot.org; helo=layka.disroot.org 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Em 27 de abril de 2025 19:05:59 BRT, "No=C3=A9 Lopez via Guix-patches via" = escreveu: >Hi everyone! > >I=E2=80=99ve implemented everything I wanted, so here is Guix Xapian v1= =2E1! > >As proposed by Ludo, you can now use it as a channel, detailed usage >instructions are in the README at >=2E > >After installing, you can just run guix xsearch --index and then guix >xsearch to get <0=2E2 seconds search! > >New features compared to 0=2E1: >- Use as channel=2E >- Separate caches per profile=2E >- Faster search by not loading modules=2E > >I=E2=80=99d appreciate if you could try it out and see if it works for yo= u >before I announce it on guix-devel=2E > >Have a nice day, >No=C3=A9 Greetings, I'll try it out, and do an additional test by adding it as a television[1] backend=2E First issue I can point out though, your channel introduction has a mistake: >/home/noe/src/guix-xsearch Should be: >https://codeberg=2Eorg/Baleine/guix-xsearch Regards, --=20 Gabriel Santos From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Apr 2025 23:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , =?UTF-8?Q?No=C3=A9?= Lopez via Guix-patches via , 77833@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174579568017301 (code B ref -1); Sun, 27 Apr 2025 23:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2025 23:14:40 +0000 Received: from localhost ([127.0.0.1]:45927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9BCp-0004Ut-Dc for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:14:39 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43074) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9BCn-0004Te-M1 for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:14:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9BCg-00068C-F1 for guix-patches@gnu.org; Sun, 27 Apr 2025 19:14:30 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u9BCe-0000on-Pw; Sun, 27 Apr 2025 19:14:30 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 561F825BF4; Mon, 28 Apr 2025 01:14:27 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id my4Cz6HkdCL7; Mon, 28 Apr 2025 01:14:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745795666; bh=4Ye2F9MSe/jGeb/1Ij5fLhqTeFOVtXyOrGeBmVYHkkI=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=MNjhyMt4RIr6DYHiyahU+t4dMFaPZa7QWWGKi9rkoyGqR3CincyA/TdmOQP0TGdxJ Dd0hL0/V7qRnvA68ZgiiEUNonAlypuJOoAuvPiUApn67TtEGkShWomEdbi7T6jgyuC w3mqGfaHvrYscAv/6uaMNVlV96Pbt+peXOUOfvzMxXqvOYWrWqwCTioh34a7qbFkAY 5hExrm81vVfpRFjlKjhCUKTdpBTehWY+B2BWQzgvxSgeBLrTkK3JPr/O+WuN0hJhxO fdeXf8iaJYP8AAiONHFkMv8aMP9QJ4HoCBsQwy0PNtqZi62D0v4W1k47Yx27kqlA16 uVvnxeZZW1GKQ== Date: Sun, 27 Apr 2025 20:14:19 -0300 From: Gabriel Santos User-Agent: Thunderbird for Android In-Reply-To: <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> Message-ID: <87B8C88A-193E-406B-AB8F-A59FCCF5352B@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=gabrielsantosdesouza@disroot.org; helo=layka.disroot.org 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) >I'll try it out, and do an additional test by adding it as a television[1] >backend=2E [1] --=20 Gabriel Santos From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Apr 2025 23:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: noe@xn--no-cja.eu, 77833@debbugs.gnu.org, Gabriel Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.174579585618940 (code B ref -1); Sun, 27 Apr 2025 23:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2025 23:17:36 +0000 Received: from localhost ([127.0.0.1]:45976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9BFg-0004vQ-C7 for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:17:36 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54684) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9BFd-0004uS-Ek for submit@debbugs.gnu.org; Sun, 27 Apr 2025 19:17:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9BFX-0006Tl-Qa for guix-patches@gnu.org; Sun, 27 Apr 2025 19:17:27 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u9BFW-0001Km-7R; Sun, 27 Apr 2025 19:17:27 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8551325DC0; Mon, 28 Apr 2025 01:17:23 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id A-s7lXpVh2-r; Mon, 28 Apr 2025 01:17:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745795842; bh=KCL4VtFFIhxBfkH67i3Pu1dQwrxoqAzNrSQjc5yHxZM=; h=Date:From:To:CC:Subject:In-Reply-To:References; b=WCdcLb18gV2bWjqz7OWXmsxacxdEZDKBDtjyLoGeYryOHOK4H1qXAz8OFNKtXV9OU LcyV4wJJZN7TV/7PANjfB6HgT8dCYEuldUzXlreteMY55vXTuy9X0KtdlSjzq+YkpV smAb0oM9hpBNp7lblJGPTzLThjHyO3l3Da2Iw81qm/MxzTkGdH93GRNyHgx6gwt1Za zlOUoNZyjShTPKPnqNf/0i4CZvc6PHOITgoDhovYdGtQGSpbyAXtZ5/YyXq4emifGM eNt9s7zc5d7bwS/2MGbFgxfiKAGeVVmZrBbm6ay3jx8kFz6KIs6cYzoHKFWDSuBuWV osEDbA5UlJueQ== Date: Sun, 27 Apr 2025 20:17:16 -0300 From: Gabriel Santos User-Agent: Thunderbird for Android In-Reply-To: <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.21.23.139; envelope-from=gabrielsantosdesouza@disroot.org; helo=layka.disroot.org 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) >First issue I can point out though, your channel introduction has a >mistake: > >>/home/noe/src/guix-xsearch > >Should be: > >>https://codeberg=2Eorg/Baleine/guix-xsearch Just tried to pull, you're missing the "keyring" branch[1]=2E You just have to export the keys used there=2E [1] --=20 Gabriel Santos From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Apr 2025 08:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: gabrielsantosdesouza@disroot.org, 77833@debbugs.gnu.org Cc: Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: Gabriel Santos , 77833@debbugs.gnu.org, Gabriel Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.174582988310344 (code B ref -1); Mon, 28 Apr 2025 08:45:03 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2025 08:44:43 +0000 Received: from localhost ([127.0.0.1]:53231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9K6U-0002gk-Hj for submit@debbugs.gnu.org; Mon, 28 Apr 2025 04:44:42 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9K6Q-0002e1-Me for submit@debbugs.gnu.org; Mon, 28 Apr 2025 04:44:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9K66-0004sB-2q for guix-patches@gnu.org; Mon, 28 Apr 2025 04:44:18 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9K5x-00054i-FM; Mon, 28 Apr 2025 04:44:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=xGd4+k9MUxZuICdwExDmUMTj+t5KnvG0Ibv13APVQYQ=; b=a7pF9aqAwDOUVV9Rfx/FTKNRaE 7La/CBKgdCr9OCr3Jz2oWos7PMYgh3k7aEEzf0XwkSbQXUYPI5lVfKmPlnhS+wMa7KaePiQChYtx2 4so6/UuFd7LM3L3iAUlm6rsO6bWfkNX7T77SX+getWotOElQbyJLnrjV8/P3gAu7c5+1uIAilRBY2 j3vEiH7Ns6kwU4XIs+61Workyi6IjVkH5NdJ/+XbUmirK7tmD+fhUu533rbVTnyOv+89T2ry3sNGH jugkRq7RX2o1TOXM5SCuTIC8VeYK9UqaimyvTepKnE0nOpqClhpfYt7iVA8qnBOAc6lcrAg6KFUnS mcmtjbzQ==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u9K5s-000hq1-AB; Mon, 28 Apr 2025 10:44:04 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> Date: Mon, 28 Apr 2025 10:43:53 +0200 Message-ID: <878qnkad6e.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gabriel Santos writes: >>First issue I can point out though, your channel introduction has a >>mistake: >> >>>/home/noe/src/guix-xsearch >> >>Should be: >> >>>https://codeberg.org/Baleine/guix-xsearch > > Just tried to pull, you're missing the "keyring" branch[1]. > > You just have to export the keys used there. > > [1] > > --=20 > Gabriel Santos Woops! I forgot to push that branch, well couldn=E2=80=99t notice directly = since I was mistakenly using my local repository. It=E2=80=99s fixed now, here=E2=80=99s the new channel spec for reference: (channel (name 'guix-xsearch) (url "https://codeberg.org/baleine/guix-xsearch") (introduction (make-channel-introduction "8035a2599cb94fca558e518c8e592cae646f5966" (openpgp-fingerprint "5D54 CF25 57B2 38E8 8DC1 80A2 2D22 3241 0AB7 4043")))) Thanks for the report, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgPP8kSHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDjjcL/2nf8jzmu396QiKUEgWZp+UVkKTYM9Rl AoiQ/GUYofKr0I/FWQ8IQmN2K++YwpfBpdScZjVJkgHZ7yXS/p6K1q3Eg/M0vWkV Vr8/zneH8TQ3epQ823gxRb/xu+df2rK82T9mr7p31wpxFozoMpaNNBJ+h2Nu8b3c tSBDHqvgNnyHcvTwM1msxlgj7+NTvp3WIRFUFF3TJn8rPwP6peAIp7cHRL+m2wXo WbgRloHOH6S7wYzEbUd8kd/hdgThxMmTPR2v1zge7JCJD09i0FWl+Rj2SGv1F6xr ujwf3lzQNvj5LYHlPpJ9QB/Jl7PzFKYDVVMP46pG+N0Me+RfpIBRjohrX+hU/JIA nmBfL/46MByDC6WpolAHe/R3nJWHKMun0v0B6mr8mXSKzsAlM6u2u1YYZ4/eb77A s3Ngmj2+cuZ6AzbW9tftf1ESVwa3CeeUt+1ZxsEJcPvb4qy/if0mIOz8IIZDWyDh hDMT6rj9eO3B/v8C8w/QQ/VadDrmZ5HyRQ== =dA+n -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept References: <87bjsxi0u6.fsf@xn--no-cja.eu> Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Apr 2025 11:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 77833@debbugs.gnu.org Cc: =?UTF-8?Q?No=C3=A9?= Lopez , Arun Isaac , Gabriel Santos , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174584059218146 (code B ref 77833); Mon, 28 Apr 2025 11:44:02 +0000 Received: (at 77833) by debbugs.gnu.org; 28 Apr 2025 11:43:12 +0000 Received: from localhost ([127.0.0.1]:54898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9MtB-0004iE-Ei for submit@debbugs.gnu.org; Mon, 28 Apr 2025 07:43:11 -0400 Received: from layka.disroot.org ([178.21.23.139]:41950) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u9Mt7-0004hf-Pj for 77833@debbugs.gnu.org; Mon, 28 Apr 2025 07:43:07 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3D01525D4D; Mon, 28 Apr 2025 13:43:04 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id DgExbi4QBFyj; Mon, 28 Apr 2025 13:43:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745840583; bh=JmeHWIzuUOwp7uWOO75mH2O1Id9vhq0ZJmyV3NM+364=; h=From:To:Cc:Subject:In-Reply-To:Date; b=g5hlv0WwTYxWmbUYnQVqZRbK3pYClSvs5A09Q3K9KltsyY3+p5z8SHwo4vZiluSwr tK4qP1UHzHvyz0Rs7nKSdnQ63CpED91qin4GopFwlyH0exw9BzIFrKhA0DZLYyeia1 CafSft954OPayFme66apWkptfEZL9aMZ5Jp7c1l6es5e1A90hPAtWu/g5/O5abDqvc HZXjsf7YnFcTL65rzEruaauGOEwNdeqy5nKX51865FAE1pEkPEarf7UrPBrfCXS+sj sxvUUTTNQGLMETqwT2oCod1absQb9hFDJm7efFwtieSjylZ2fbxRTPXJXJXoxpqzbQ SEXsO96rIQFVw== From: Gabriel Santos In-Reply-To: <878qnkad6e.fsf@xn--no-cja.eu> Date: Mon, 28 Apr 2025 08:42:56 -0300 Message-ID: <87ikmowlz3.fsf@disroot.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Greetings, I subscribed to the channel[1] and installed the package[2], but couldn't get it working on my system. I then tried to install guile (which I didn't do because I already had it in my profile from some other package), but that was to no avail: >$ guix package -i guix-xsearch guile >The following packages will be installed: > guile 3.0.9 > guix-xsearch 1.1 >$ guix xsearch >guix: xsearch: command not found >hint: Did you mean `search'? > >Try `guix --help' for more information. I then tried the "make env" shell from the channel and that worked: >$ make env >guix shell -m env/manifest.scm -- || exit 0 #ignore the shell=E2=80=99s re= turn value >$ guix xsearch guix-search >name: guix-xsearch >[...] Additionally, trying to install it as package by adding the channel to the = load path also doesn't work: >$ guix package -i guix-xsearch guile -L src/channel >The following packages will be installed: > guix-xsearch 1.1 >$ guix xsearch >guix: xsearch: command not found >hint: Did you mean `search'? > >Try `guix --help' for more information. Because of this, I couldn't do the test with television[3-4] that I wanted. I tried 10 different searches, and this seems to have "issues"=E2=80=94more= like warnings, as there's no crashes=E2=80=94with longer results: >$ make env >guix shell -m env/manifest.scm -- || exit 0 #ignore the shell=E2=80=99s re= turn value >$$ guix xsearch kde >name: kde-games >[...] I then scroll to the third result, which in my case is kde-cli-tools, by pressing "PageDown" + "Up Arrow" to keep the "name" line at the top: >name: kde-cli-tools >[...] And press "q", to quit (I think that search uses the default pager, which in my case is still less): >Backtrace: > 9 (primitive-load "/home/gabriel/.config/guix/current/bin=E2=80= =A6") >In guix/ui.scm: > 2352:7 8 (run-guix . _) > 2315:10 7 (run-guix-command _ . _) > 1807:16 6 (call-with-paginated-output-port _ #:less-options _) > 1850:11 5 (_ #) > 1655:2 4 (package->recutils _ # _ # _ =E2= =80=A6) >In ice-9/format.scm: > 1548:18 3 (format # "~a~%" "descriptio=E2=80= =A6") > 216:11 2 (format:format-work "~a~%" ("description: `trayer' is =E2=80= =A6")) > 65:8 1 (format:out-obj-padded _ _ _ _) >In unknown file: > 0 (display "description: `trayer' is small program desig=E2=80= =A6" =E2=80=A6) > >ERROR: In procedure display: >In procedure fport_write: Broken pipe This is only a issue if you stop at the middle of a search result. It doesn't happen when you press "END" for examplle to get to the very last one. With those issues aside, it seems realy good, the search seems to be almost instant. [1] [2] [3] [4] Regards, --=20 Gabriel Santos From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Apr 2025 19:39:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Gabriel Santos , 77833@debbugs.gnu.org Cc: Gabriel Santos , Arun Isaac , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.17458691354589 (code B ref 77833); Mon, 28 Apr 2025 19:39:06 +0000 Received: (at 77833) by debbugs.gnu.org; 28 Apr 2025 19:38:55 +0000 Received: from localhost ([127.0.0.1]:35875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9UJa-0001Bw-KL for submit@debbugs.gnu.org; Mon, 28 Apr 2025 15:38:55 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]:51736) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9UJX-0001BC-7C for 77833@debbugs.gnu.org; Mon, 28 Apr 2025 15:38:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=J7XIBKq/ZGTtDAXRG3RpIfmWJEveSkQQq61l5xGwX18=; b=HY1eidJFqoDGSd5fXHyKaUVhU1 rxHONqPkv1IH4J3VXqDszJ+65LS/zuMk8Kf6rr8XfDRw52/v0elPAjdDrUheqFNnNiNQKEx3POsYZ SOkvilar3dcBNt7ZloEUmcRoMVWixMWO8evWXygU2/uA2+157sIVTBJlJRDl5DIl95QYuPuVcHxsH K4qsWFGVEWcO21ChUtMvRI88PRhkL94nTB9kUp1BUWlQn1NI0RnWXoBYfCLxtr3axheQiFJxBTNmv 1L6/iB2wDnsoGXswM3W4mVh4ehWZ3n2YgPMp5eqimtNG9RN19u87Mdd5aEQ+GEx6DVMC5FAm9fwZG ThDD2M/g==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u9UJP-002v0D-TI; Mon, 28 Apr 2025 21:38:45 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87ikmowlz3.fsf@disroot.org> References: <87ikmowlz3.fsf@disroot.org> Date: Mon, 28 Apr 2025 21:38:23 +0200 Message-ID: <87y0vk13gw.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Gabriel Santos writes: > Greetings, > > I subscribed to the channel[1] and installed the package[2], but > couldn't get it working on my system. I then tried to install guile > (which I didn't do because I already had it in my profile from some > other package), but that was to no avail: > >>$ guix package -i guix-xsearch guile >>The following packages will be installed: >> guile 3.0.9 >> guix-xsearch 1.1 >>$ guix xsearch >>guix: xsearch: command not found >>hint: Did you mean `search'? >> >>Try `guix --help' for more information. Did you try loading the package profile? For me it works only after loading ".guix-profile/etc/profile". Sometimes it just feels like environment variables never set themselves when you want them. I made sure that the guix-xsearch package has the native-search-path! What else can I possibly do? > > I then tried the "make env" shell from the channel and that worked: > >>$ make env >>guix shell -m env/manifest.scm -- || exit 0 #ignore the shell=E2=80=99s r= eturn value >>$ guix xsearch guix-search >>name: guix-xsearch >>[...] > > Additionally, trying to install it as package by adding the channel to th= e load > path also doesn't work: > >>$ guix package -i guix-xsearch guile -L src/channel >>The following packages will be installed: >> guix-xsearch 1.1 >>$ guix xsearch >>guix: xsearch: command not found >>hint: Did you mean `search'? >> >>Try `guix --help' for more information. > > Because of this, I couldn't do the test with television[3-4] that I wante= d. > Right, it seems guix package might not be setting the search paths, but it should have worked when adding to your home config. > I tried 10 different searches, and this seems to have "issues"=E2=80=94mo= re like > warnings, as there's no crashes=E2=80=94with longer results: > >>$ make env >>guix shell -m env/manifest.scm -- || exit 0 #ignore the shell=E2=80=99s r= eturn value >>$$ guix xsearch kde >>name: kde-games >>[...] > > I then scroll to the third result, which in my case is kde-cli-tools, by > pressing "PageDown" + "Up Arrow" to keep the "name" line at the top: > >>name: kde-cli-tools >>[...] > > And press "q", to quit (I think that search uses the default pager, > which in my case is still less): > >>Backtrace: >> 9 (primitive-load "/home/gabriel/.config/guix/current/bin=E2= =80=A6") >>In guix/ui.scm: >> 2352:7 8 (run-guix . _) >> 2315:10 7 (run-guix-command _ . _) >> 1807:16 6 (call-with-paginated-output-port _ #:less-options _) >> 1850:11 5 (_ #) >> 1655:2 4 (package->recutils _ # _ # _ =E2= =80=A6) >>In ice-9/format.scm: >> 1548:18 3 (format # "~a~%" "descriptio=E2= =80=A6") >> 216:11 2 (format:format-work "~a~%" ("description: `trayer' is =E2=80= =A6")) >> 65:8 1 (format:out-obj-padded _ _ _ _) >>In unknown file: >> 0 (display "description: `trayer' is small program desig=E2=80= =A6" =E2=80=A6) >> >>ERROR: In procedure display: >>In procedure fport_write: Broken pipe > > This is only a issue if you stop at the middle of a search result. It > doesn't happen when you press "END" for examplle to get to the very last > one. > Good catch, I will fix this. > With those issues aside, it seems realy good, the search seems to be almo= st > instant. > Nice! I like your idea of trying it with television, although I wonder what you plan to do? The guix package command is not covered by guix-xsearch so you will have to adapt the commands. That said, you can probably make a script to go through the database and list packages (could be slow or fast I don=E2=80= =99t know) and use guix xsearch title: to find candidates. Good luck! No=C3=A9 > [1] > [2] > [3] > [4] > > Regards, > > --=20 > Gabriel Santos --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgP2TISHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDUY0MAN0vKvP1Px+bx+10gRE9sPG/d7KVvkd3 9C3Hr7FmbUcEVmfTaF6DPMOg39mj1dME3ajCaadQjdZhARrie9tqtpIBOduWlak1 3sln1ZsDDZ230HjMTDvrsizYRES7ZcQZYYsDMSbvyaQMPzzAsjtaApzfMfVY89SV A3i6cdkkO9KYv5+terrz647biSGDQlIdaoYqrMuRqfp/5f/IrOA3oKhAD8elcLyk SvayGFhqZ/njk4qDT03VWor36iM9CGJXxRB1eFCihaAVKd2xxE/TaIjnl5UFtj2p f0ALH6djjnAQwX9pKF2or+Y8WbrSdsxw+CVfPGKrFZT+utJCk9K7hy3LYuq4D8tK dQxUFzyAzyccf5VGtROfZgyVToqGxBizwDPllOFHatSlleIkr6h2m0CQTd/PYljt k7aKrvt6KGY1LplyZx7gRuA6XTrNx/89bkdWZWut03w7hQALgJVebyuR66On7yHf y88SvxV7+ZeObxAZOEUD5u2IEMEIHjtGdQ== =S/Kf -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: gabrielsantosdesouza Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Apr 2025 20:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: =?UTF-8?Q?No=C3=A9?= Lopez Cc: Arun Isaac , Simon Tournier , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 77833@debbugs.gnu.org Received: via spool by 77833-submit@debbugs.gnu.org id=B77833.174587359517793 (code B ref 77833); Mon, 28 Apr 2025 20:54:02 +0000 Received: (at 77833) by debbugs.gnu.org; 28 Apr 2025 20:53:15 +0000 Received: from localhost ([127.0.0.1]:36706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9VTW-0004cr-K4 for submit@debbugs.gnu.org; Mon, 28 Apr 2025 16:53:14 -0400 Received: from layka.disroot.org ([178.21.23.139]:44898) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1u9VTT-0004cf-VD for 77833@debbugs.gnu.org; Mon, 28 Apr 2025 16:53:13 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 08DC325CEA; Mon, 28 Apr 2025 22:53:11 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id YwOzaXT9r04s; Mon, 28 Apr 2025 22:53:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745873590; bh=EnVZCT0sSfkIDA80cdGxFjGrTTyw5egAV/OvgaxVRE4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=U7MXPKL/nSvm3M5v1PuxNK2Q9JsrXTdHJI+VhlLD14aSZ3bz8SfJZEp+shqIunw9A rXZHk41bSXvURTX8wqSoiYD42wmCGTXjPQK0ualUSTZ0Y1SXPzVlzEYe55HB1VZU1X zb73xxUun/B3fV17KomtTFIlc3JpOgdPfrUFar8ksrsAkqb9UrlDrYatlrkzFMGi/s KQ2sPaN7Q6gdqh1j1p/WZUM16m/v+w2AcQP6qR+vxOY6gxhVP4ZUkM62NwCL7LnQ+Q sn8bkzKpaG/7WojQaGOWJmzN4On664yIt3RlcmMhWurBIkm3hByLTa72qV2U4r9FHO Cc69Vd2epdWNg== MIME-Version: 1.0 Date: Mon, 28 Apr 2025 20:53:10 +0000 From: gabrielsantosdesouza In-Reply-To: <87y0vk13gw.fsf@xn--no-cja.eu> References: <87ikmowlz3.fsf@disroot.org> <87y0vk13gw.fsf@xn--no-cja.eu> Message-ID: X-Sender: gabrielsantosdesouza@disroot.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 2025-04-28 19:38, Noé Lopez wrote: > Did you try loading the package profile? Oh, I didn't, because it's often not necessary for other packages, but I guess it would make sense for it to not work with an extension to the package manager's command. I'll try messing around with the profiles and paths later to see if I can get it work. > Nice! I like your idea of trying it with television, although I wonder > what you plan to do? I plan to use it and maybe suggest it on the wiki as a faster search alternative. I often use the Guix (television) "channel" configuration I linked to complete packages when spawning shells for example—the calls to "cut" and "tr" are there to grab just the package's name as a result—so it would be nice to have that optimized. > Good luck! Thanks! Regards, -- Gabriel Santos From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 28 Apr 2025 23:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, gabrielsantosdesouza@disroot.org, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , Gabriel Santos , 77833@debbugs.gnu.org, Gabriel Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.174588184716048 (code B ref -1); Mon, 28 Apr 2025 23:11:03 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2025 23:10:47 +0000 Received: from localhost ([127.0.0.1]:38827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9Xcb-0004Ab-Vn for submit@debbugs.gnu.org; Mon, 28 Apr 2025 19:10:47 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56678) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9XcX-00049M-Bk for submit@debbugs.gnu.org; Mon, 28 Apr 2025 19:10:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9XcL-0007C2-6j for guix-patches@gnu.org; Mon, 28 Apr 2025 19:10:29 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9Xc9-0005OH-UU; Mon, 28 Apr 2025 19:10:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1745881802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RIKtMZ6DI+m86lsSi6QideOCcwyhdYWSf8ygtc88nRo=; b=mSg7GccywT21SwKdSGEv/N4u0qq839zu0EXxOca9hmu1tfC/OsC+rQzzRZLzcjmVWvedfI xaIY+Fl+B8rehbXtr0rvASBjCpSMQw40wIp1Pd3OeCdAoRkIxRMpCl/+98Cv7gBHcucwCW QfR6Pfi705eQgaUNTWry2k/41aBFvqU4Qu5xGMgRGT13+56c+KeFswMBQfCmyIoQaJEDAV xgDXOUNVZ7j8ALmPhXaBKxcTZ4R+g3fCtEraJO+IrazuhJCCmMZ5bOmq+dXIt2YgpP/6Ty /yOboJIUU9xVZjsFPB5+E+DnomeVzspMrGs1a4N155HAkaIn6MITW6WAiVYYww== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id defb9777 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 28 Apr 2025 23:10:01 +0000 (UTC) From: Arun Isaac In-Reply-To: <878qnkad6e.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> <878qnkad6e.fsf@xn--no-cja.eu> Date: Tue, 29 Apr 2025 00:09:55 +0100 Message-ID: <87o6wfublo.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi No=C3=A9, Works beautifully, thanks for hacking on this! How does the multiple profile support work? Do I have to build the index separately for each profile? What happens when I switch back and forth between profiles=E2=80=94do I need to rebuild the index each time I switch?= And, where is the index stored? Cheers! Arun From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: =?UTF-8?Q?No=C3=A9?= Lopez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Apr 2025 19:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: arunisaac@systemreboot.net, gabrielsantosdesouza@disroot.org, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: Arun Isaac , Gabriel Santos , 77833@debbugs.gnu.org, Gabriel Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.174595492432343 (code B ref -1); Tue, 29 Apr 2025 19:29:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Apr 2025 19:28:44 +0000 Received: from localhost ([127.0.0.1]:33968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u9qdG-0008PK-6s for submit@debbugs.gnu.org; Tue, 29 Apr 2025 15:28:44 -0400 Received: from lists.gnu.org ([2001:470:142::17]:34448) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u9qcs-0008LD-SP for submit@debbugs.gnu.org; Tue, 29 Apr 2025 15:28:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9qce-00028H-Hp for guix-patches@gnu.org; Tue, 29 Apr 2025 15:28:07 -0400 Received: from smtp.domeneshop.no ([2a01:5b40:0:3006::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u9qcc-0007W0-JA; Tue, 29 Apr 2025 15:28:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xn--no-cja.eu; s=ds202502; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6kQMy3sWDro0G4Pyg9N3LjcZkFugT7tA4MuvX5Vq2Ok=; b=Nc9w3zaJsphfLQ55kQiNyiatqt 5j82y3kAhwYzAALyFwYivD+Gr0CvZOH/6XuPb+k2BoI40EnUHbzHoqaI1dYAHSKHxrXvs4s2JLN+Q Rcuv5nwLV1Quyb9hTUrUpaNtSH83SBDodPaOsVRYYKe1oYPkF7uY2HJlKJf0ZJ+iwEZa3JNE968f+ bVm2UM5IihEUHsR/+CXAp7s/fLZa1FtvgvqI2VyK4TXRJCr7opKooZmwZfirLfYqyfZ4BWmNwJFGV sl0DUI8rNGpIbD99YjT+ptkUZEYAqo5Lc630lCCNRwHwBSuyBXwKDnIHDXfGGKeOYQahHdSDnBl3C nBX0rTvg==; Received: from smtp by smtp.domeneshop.no with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) id 1u9qcS-00Aiik-Ib; Tue, 29 Apr 2025 21:27:53 +0200 From: =?UTF-8?Q?No=C3=A9?= Lopez In-Reply-To: <87o6wfublo.fsf@systemreboot.net> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> <878qnkad6e.fsf@xn--no-cja.eu> <87o6wfublo.fsf@systemreboot.net> Date: Tue, 29 Apr 2025 21:27:49 +0200 Message-ID: <87a57yhioa.fsf@xn--no-cja.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:5b40:0:3006::1; envelope-from=noe@xn--no-cja.eu; helo=smtp.domeneshop.no 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-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Arun Isaac writes: > Hi No=C3=A9, > > Works beautifully, thanks for hacking on this! > > How does the multiple profile support work? Do I have to build the index > separately for each profile? What happens when I switch back and forth > between profiles=E2=80=94do I need to rebuild the index each time I switc= h? And, > where is the index stored? > > Cheers! > Arun We take the profile at /var/guix/profiles/per-user//current-guix/ and build an index for it. Yes. No. In ~/.cache/guix-xsearch/. What I originaly wanted to do was a derivation that computes the index based on the current guix, but I couldn=E2=80=99t quite get it to work. It = would have been best since it would be in the store and benefit from guix gc. Now that I think about it, this is a bad solution. It might not work with guix time-machine. I would like to know what you mean by switching profile, is that guix pull generations or guix shell guix or something else? All the best, No=C3=A9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHGBAEBCAAwFiEEXVTPJVeyOOiNwYCiLSIyQQq3QEMFAmgRKDUSHG5vZUB4bi0t bm8tY2phLmV1AAoJEC0iMkEKt0BDLe4L+wQ3JW4jsNERYvL7ygfuXy0+/RiqXENp Kj/qBRz2P7IOFWkGhbRQgIvqaQcSdL5Vei9+gYD3mAeB+KOH+XFE8OJh8fiB47Gg E2UO6saIfIp0vu20Q2VSTZ0YwqWeidAeHRbEVeHj7B6wjXE+T4AbocIQw3F/W5gX nD25FmuvIY3bcf9zqna/L4X+LnYgrNvNnasJU0FupCvWIMLR/f/6T99FKka34FbY wndZUsG88Iu6tx3lSmdEiAu3V5k6jZuP64znSt3le2MM9Q39qTi6qNezM2b+wtVH yBoLFCa5NZnaQ4kBB6ST229+17O9MBV1NhPbzHsFXNRsxeQ624/qGHukFayhVexi HW0WuRgyXQG09666lgHx46kei2jEsgQ377ch2OMQVM3c6LzKCC0tJa3nVk8bGmO7 A3x7e23prYb/bbSH/vRAJyHDwpG3jomHEUCU//aGhea+uVCcsQI1+MucCatn1AOP 8rPlwCUaAUvvoWaUBu8gxeI5IKwJ9A6ovg== =OGqa -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Jun 17 01:43:19 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77833] Xapian cache/search proof of concept Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 01 May 2025 20:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: noe@xn--no-cja.eu, gabrielsantosdesouza@disroot.org, 77833@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Simon Tournier X-Debbugs-Original-To: =?UTF-8?Q?No=C3=A9?= Lopez , Gabriel Santos , 77833@debbugs.gnu.org, Gabriel Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.17461323957997 (code B ref -1); Thu, 01 May 2025 20:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2025 20:46:35 +0000 Received: from localhost ([127.0.0.1]:53628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uAanj-00024v-Fb for submit@debbugs.gnu.org; Thu, 01 May 2025 16:46:35 -0400 Received: from lists.gnu.org ([2001:470:142::17]:38560) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uAanh-00024c-Ot for submit@debbugs.gnu.org; Thu, 01 May 2025 16:46:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAanc-0004Ro-1Z for guix-patches@gnu.org; Thu, 01 May 2025 16:46:28 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uAanY-0002eZ-AV; Thu, 01 May 2025 16:46:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=systemreboot.net; s=default; t=1746132373; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zDfba44fNSH10mOiZbnGEjdMEpJXYmXWTjpsL3gOyMY=; b=ouJf1Ck1RE0KUflu2AXeRzSXnnUDVUPMSIm3Zei+yTp2SBc+GLHIfGZ9bXExgTE0hJYoPq LxPL3plMP7Gs3pLgRS3CxrjbLy1KHjzoQ9VK3X97Bu6lY6mlsm789U6MQt251N4w+3y9K5 3oAUKA9XBTAyY5saC6BSVwccOWnP4er0zIRSMyZ6htnTnuyEJf+Fms224PA8mg3K64g/Y9 3boktqK7efEWCrzskk//F+fbvRQLh9QAvJMQfblAdUOjKS96Rvi4oCSM9o1vdbu7h2P2Vp 4dT671EIslBpsHyA6WvSevcPS/bMVlUP8zYd1w9qZcLDjHnjA6wE9/pYGVQatw== Received: from localhost ( [192.168.2.1]) by mugam.systemreboot.net (OpenSMTPD) with ESMTPSA id 6c6864af (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 1 May 2025 20:46:12 +0000 (UTC) From: Arun Isaac In-Reply-To: <87a57yhioa.fsf@xn--no-cja.eu> References: <87bjsxi0u6.fsf@xn--no-cja.eu> <87ikn1dsyp.fsf@xn--no-cja.eu> <87bjsh9s54.fsf@xn--no-cja.eu> <23666D7E-808A-4352-8BE7-F7752CC13D64@disroot.org> <878qnkad6e.fsf@xn--no-cja.eu> <87o6wfublo.fsf@systemreboot.net> <87a57yhioa.fsf@xn--no-cja.eu> Date: Thu, 01 May 2025 21:46:05 +0100 Message-ID: <87ikmk6ovm.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Hi No=C3=A9, > We take the profile at /var/guix/profiles/per-user//current-guix/ > and build an index for it. Yes. No. In > ~/.cache/guix-xsearch/. Ok, sounds good. > I would like to know what you mean by switching profile, is that guix > pull generations or guix shell guix or something else? I have additional guix profiles, for example ~/.guix-extra-profiles/foo that I activate with `source ~/.guix-extra-profiles/foo/etc/profile'. I sometimes also have this happen automatically using direnv. Regards, Arun