GNU bug report logs - #65809
mumi: Add context in search results when querying for (subject:<something>)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: mumi; Severity: wishlist; Reported by: Giovanni Biscuolo <g@HIDDEN>; Owned by: Arun Isaac <arunisaac@HIDDEN>; dated Thu, 7 Sep 2023 16:54:02 UTC; Maintainer for mumi is help-debbugs@HIDDEN.
bug reassigned from package 'guix' to 'mumi'. Request was from Felix Lechner <felix.lechner@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Owner recorded as Arun Isaac <arunisaac@HIDDEN>. Request was from Giovanni Biscuolo <g@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 65809 <at> debbugs.gnu.org:


Received: (at 65809) by debbugs.gnu.org; 18 Sep 2023 19:57:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 15:57:23 2023
Received: from localhost ([127.0.0.1]:54582 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qiKN1-0005V2-7H
	for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 15:57:23 -0400
Received: from mugam.systemreboot.net ([139.59.75.54]:39406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1qiKMu-0005Ui-UY
 for 65809 <at> debbugs.gnu.org; Mon, 18 Sep 2023 15:57:22 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=W7pVhqWg6Pkd6z8VqpN9efZaKLT9uxkrQTOyOdog/L0=; b=PDiqtaRBOpcc1EIeseqE3S0XoP
 F0Nmt5pwE1eMsL9htRrFFDjd64aKWYDNhMStJrhMJs67mXEcMWMvpM4cL1IzpElMIpWXPJS/kcc24
 asWq+x3hRdJucuLq0w7FrsGPF33LrYOAGuyfV0L+6q5Q//hsRZ0hlKMbYQuSBQNThpqVM1fW18nlF
 FtbFaOWT4YXZ/m1uj2WgvmYx8VEKmAWd+1QMt93yRLK7sbl2N1ZEw501XROQ6Et1Zr2ESCHaMdLHd
 7qRNpCiygUSKxS2EYLHOTgwHR4rhVerGBXmNGEVvJcg8PTVNRxr+NJHZ/03f71/rbNuwgZHWVlTSq
 GoV7hI6Q==;
Received: from [192.168.2.1] (port=33666 helo=localhost)
 by systemreboot.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96)
 (envelope-from <arunisaac@HIDDEN>) id 1qiKMf-000CZ2-0y;
 Mon, 18 Sep 2023 20:57:02 +0100
From: Arun Isaac <arunisaac@HIDDEN>
To: Giovanni Biscuolo <g@HIDDEN>, 65809 <at> debbugs.gnu.org
Subject: Re: bug#65809: mumi: Add msg number and subject in search results
 when searching for subject:
In-Reply-To: <871qev5w8k.fsf@HIDDEN>
References: <871qfaexil.fsf@HIDDEN> <87y1hezlaq.fsf@HIDDEN>
 <8734zmdsfq.fsf@HIDDEN> <87ttrtt6rz.fsf@HIDDEN>
 <871qev5w8k.fsf@HIDDEN>
Date: Mon, 18 Sep 2023 20:56:57 +0100
Message-ID: <87fs3btfue.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65809
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


>> Notice how the search term "database" is highlighted in the search
>> results. This is relatively easy to do with Xapian, and indeed I do
>> plan to implement this at some point.
>
> OK: can we consider this bug report (wishlist) as the "official" one for
> that feature? :-)

Sure!

> Can I retitle it to better reflect the upcoming implementation and
> assign it to you?

Yes, please!

> Actually I dont' know if there is some written or unwritten convention
> in Guix or GNU about bug assignment, I don't want to put pressure on
> you!

No problem! I do intend to implement this feature at some point
anyway. Even if I don't do it, it's good to list this as an issue so
that someone interested can try and hack on it.




Information forwarded to bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.
Changed bug title to 'mumi: Add context in search results when querying for (subject:<something>)' from 'mumi: Add msg number and subject in search results when searching for subject:' Request was from Giovanni Biscuolo <g@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 65809 <at> debbugs.gnu.org:


Received: (at 65809) by debbugs.gnu.org; 18 Sep 2023 15:37:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 11:37:05 2023
Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qiGJ7-0000iP-0Z
	for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 11:37:05 -0400
Received: from ns13.heimat.it ([46.4.214.66]:46618)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <g@HIDDEN>) id 1qiGJ4-0000ht-6n
 for 65809 <at> debbugs.gnu.org; Mon, 18 Sep 2023 11:37:03 -0400
Received: from localhost (ip6-localhost [127.0.0.1])
 by ns13.heimat.it (Postfix) with ESMTP id A5C593009C1;
 Mon, 18 Sep 2023 15:36:47 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it
Received: from ns13.heimat.it ([127.0.0.1])
 by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id tt-BdIJOE7qv; Mon, 18 Sep 2023 15:36:44 +0000 (UTC)
Received: from bourrache.mug.xelera.it (unknown [93.56.171.217])
 (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by ns13.heimat.it (Postfix) with ESMTPSA id B42363009C0;
 Mon, 18 Sep 2023 15:36:44 +0000 (UTC)
Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14])
 by bourrache.mug.xelera.it (Postfix) with SMTP id 483A729E1B5D;
 Mon, 18 Sep 2023 17:36:44 +0200 (CEST)
Received: (nullmailer pid 13565 invoked by uid 1000);
 Mon, 18 Sep 2023 15:36:43 -0000
From: Giovanni Biscuolo <g@HIDDEN>
To: Arun Isaac <arunisaac@HIDDEN>, 65809 <at> debbugs.gnu.org
Subject: Re: bug#65809: mumi: Add msg number and subject in search results
 when searching for subject:
In-Reply-To: <87ttrtt6rz.fsf@HIDDEN>
Organization: Xelera.eu
References: <871qfaexil.fsf@HIDDEN> <87y1hezlaq.fsf@HIDDEN>
 <8734zmdsfq.fsf@HIDDEN> <87ttrtt6rz.fsf@HIDDEN>
Date: Mon, 18 Sep 2023 17:36:43 +0200
Message-ID: <871qev5w8k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65809
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi Arun,

Arun Isaac <arunisaac@HIDDEN> writes:

> Sorry for my late reply.

No problem: async! :-D=20

[...]

> In our case, we index entire issues as Xapian documents; we don't index
> each individual email message as its own Xapian document.

Ooh, I understand now!

> This means that an issue is the smallest unit we can address. We
> cannot address each individual email message. So, localizing a subject
> to a specific email message is difficult.

Yes, I see.

> Maybe what you are looking for is some context in the search results to
> know why that particular search result was produced. This can be done by
> displaying a snippet of text from the issue with the search terms
> highlighted. For a working demo of what I mean, see for example,
> https://issues.genenetwork.org/search?query=3Ddatabase&type=3Dall .

Oooh: a live example is more than a thousand words: thanks!
(I'm following Tissue but someway I missed that feature)

> Notice how the search term "database" is highlighted in the search
> results. This is relatively easy to do with Xapian, and indeed I do
> plan to implement this at some point.

OK: can we consider this bug report (wishlist) as the "official" one for
that feature? :-)

Can I retitle it to better reflect the upcoming implementation and
assign it to you?

Actually I dont' know if there is some written or unwritten convention
in Guix or GNU about bug assignment, I don't want to put pressure on
you!

> WDYT? Would this meet your needs?

Yes, absolutely yes: thank you!

Happy hacking! Gio'

=2D-=20
Giovanni Biscuolo

Xelera IT Infrastructures

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmUIbosMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSyHMP/2ECBxGAXWACgnBKW6UA3Fucj9bx4iekjwukl8Rq
h1mAVYWqfPMv+462Za+GN6izpNFRy5hIRQ3Lf36fQFLlh9P2WYM07BfXYT8+Hr0L
mw3lDXStUFxX0FRLf7dVD7tNg8NdVugh7hH81V9Kx8s3O4dPi+8wgoF77+6BylfD
N8wXKS6NkrQQz6JY9WEVMKFLv9cDqnh6Rez5DPFsOhjWdmNxaQ05pa2D6WDzXRgn
dhoaJ/PJzOChJ+x8ajQqcSn6zMey1RsCnpAEZKK+PRU0XMeKpR4qX1zHDwF+e9p5
8EQTQTfH/My19ygkO1YkRzHLrr9UmzeqycJR9SqfMRGPBLOMthLGdpNgL6J14SbZ
ylWNJL1v3tt5pd2oEa4S+owXTzxqD+l42/x9x7ScITr3E2f8jaZ+VDCpVzliCfuY
+ZQKcJX/XQT5RExdbOLgjI7qXiqiQghIr8JdDcvE4oD47bBSoe31sH/s+TIr7FwB
W+tsvcFGlWpe1cRLRGsSn30XCDJoKLObEC9oRjIbg8TanTJLX7WN8FJhMovloXYE
UT71wwnK8//vAavsX60XoKe7UA/i7kBhpEIfUmpRxu7rfc++1/s+Einr4TYlHqpD
pvJFzcXZsoG9h02EpIH8mgNK4/pr4VQiOTJ2KtCn5QJ6mUwTaCPQpkgcLg54bdCx
jpMb
=Jkwm
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.

Message received at 65809 <at> debbugs.gnu.org:


Received: (at 65809) by debbugs.gnu.org; 17 Sep 2023 10:48:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 17 06:48:36 2023
Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qhpKN-0007OU-Q6
	for submit <at> debbugs.gnu.org; Sun, 17 Sep 2023 06:48:36 -0400
Received: from mugam.systemreboot.net ([139.59.75.54]:49516)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1qhpKL-0007Nw-8C
 for 65809 <at> debbugs.gnu.org; Sun, 17 Sep 2023 06:48:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=NxBlzYA8VNge6kJ5sHmf+PDEPZdiU6+TcRBZw22Fvbk=; b=RkKrmBJyC3ZygvgbW5NTkcpCBf
 rIM68c2q6gn0uReq1SL4Op13WBP9KrTqFaKJQCYGZOsAt+1N3aSZYVY97YHeGNLOuUywXx3gkx2R1
 IybDToO7Wx0aG98lWEkXWx7b4sKu4tcX3CW3/MxVg0NQv04OE1JlQTmGQxW6VM2xjNGdG5bRIuEdQ
 YKJIXQtDXg4/JVqvmjS+ecfUrN9X2Db5dDoE2NoiXRVCqamTWYpOyBMRvdaduLhcQkOprPe5pfWhd
 PLbigoWfYTzwtokA9HhPBZPex2FlCTVmFa3GZmfOiKPrXQXzESWeKibBxDgezNKsG3WfTvvS0j0ve
 lfeTgRig==;
Received: from [192.168.2.1] (port=57110 helo=localhost)
 by systemreboot.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96)
 (envelope-from <arunisaac@HIDDEN>) id 1qhpK8-0008Bl-1u;
 Sun, 17 Sep 2023 11:48:21 +0100
From: Arun Isaac <arunisaac@HIDDEN>
To: Giovanni Biscuolo <g@HIDDEN>, 65809 <at> debbugs.gnu.org
Subject: Re: bug#65809: mumi: Add msg number and subject in search results
 when searching for subject:
In-Reply-To: <8734zmdsfq.fsf@HIDDEN>
References: <871qfaexil.fsf@HIDDEN> <87y1hezlaq.fsf@HIDDEN>
 <8734zmdsfq.fsf@HIDDEN>
Date: Sun, 17 Sep 2023 11:48:16 +0100
Message-ID: <87ttrtt6rz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65809
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Hi Gio,

Sorry for my late reply. I have been travelling the last week and am
just catching up on all my email.

> When searching for "subject:" it would be useful to have a speficic
> message number and subject along with (or in place of) the bug title.

This is actually difficult to do because of the way we index issues as
Xapian "documents".

First, a quick Xapian primer. Xapian has a bunch of documents each
associated with a set of terms. When a search query comes in, Xapian
decomposes the query into a list of terms and retrieves documents that
match those terms.

In our case, we index entire issues as Xapian documents; we don't index
each individual email message as its own Xapian document. This means
that an issue is the smallest unit we can address. We cannot address
each individual email message. So, localizing a subject to a specific
email message is difficult.

Maybe what you are looking for is some context in the search results to
know why that particular search result was produced. This can be done by
displaying a snippet of text from the issue with the search terms
highlighted. For a working demo of what I mean, see for example,
https://issues.genenetwork.org/search?query=database&type=all . Notice
how the search term "database" is highlighted in the search
results. This is relatively easy to do with Xapian, and indeed I do plan
to implement this at some point.

WDYT? Would this meet your needs?

Regards,
Arun




Information forwarded to bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.
Changed bug title to 'mumi: Add msg number and subject in search results when searching for subject:' from '[mumi] [wishlist] Allow searching subject prefix' Request was from Giovanni Biscuolo <g@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 65809 <at> debbugs.gnu.org:


Received: (at 65809) by debbugs.gnu.org; 10 Sep 2023 14:17:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 10:17:01 2023
Received: from localhost ([127.0.0.1]:51049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qfLFD-0002i6-LO
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2023 10:17:01 -0400
Received: from ns13.heimat.it ([46.4.214.66]:54416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <g@HIDDEN>) id 1qfLF8-0002hq-J5
 for 65809 <at> debbugs.gnu.org; Sun, 10 Sep 2023 10:16:58 -0400
Received: from localhost (ip6-localhost [127.0.0.1])
 by ns13.heimat.it (Postfix) with ESMTP id E5F2E30081A
 for <65809 <at> debbugs.gnu.org>; Sun, 10 Sep 2023 14:16:44 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it
Received: from ns13.heimat.it ([127.0.0.1])
 by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id xH4Z8Q5NoZBS for <65809 <at> debbugs.gnu.org>;
 Sun, 10 Sep 2023 14:16:42 +0000 (UTC)
Received: from bourrache.mug.xelera.it (unknown [93.56.171.217])
 (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by ns13.heimat.it (Postfix) with ESMTPSA id 8C80E30080B
 for <65809 <at> debbugs.gnu.org>; Sun, 10 Sep 2023 14:16:42 +0000 (UTC)
Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14])
 by bourrache.mug.xelera.it (Postfix) with SMTP id 2508729A5064
 for <65809 <at> debbugs.gnu.org>; Sun, 10 Sep 2023 16:16:42 +0200 (CEST)
Received: (nullmailer pid 21482 invoked by uid 1000);
 Sun, 10 Sep 2023 14:16:41 -0000
From: Giovanni Biscuolo <g@HIDDEN>
To: 65809 <at> debbugs.gnu.org
Subject: mumi: Add msg number and subject in search results when searching
 for subject:
In-Reply-To: <87y1hezlaq.fsf@HIDDEN>
Organization: Xelera.eu
References: <871qfaexil.fsf@HIDDEN> <87y1hezlaq.fsf@HIDDEN>
X-Debbugs-CC: Arun Isaac <arunisaac@HIDDEN>
Date: Sun, 10 Sep 2023 16:16:41 +0200
Message-ID: <8734zmdsfq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65809
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi!

(I'll also try to retitle this bug, after submitting this update)

Arun Isaac <arunisaac@HIDDEN> writes:

> Thanks for this feature request! It's always gratifying to know that
> someone is using mumi, especially its more advanced features! :-)

mumi advanced features could be **very** useful to a lot of contributing
activities, if improved a little bit and better understood

>> IMO is useful to be able to search for "subject:foo", it's a different
>> search than searching for foo in the body
>
> It looks like we implement this already. See
> https://git.savannah.gnu.org/cgit/guix/mumi.git/tree/mumi/xapian.scm#n141
> A search for "subject:foo" should work already.

Uh I missed that code:

=2D-8<---------------cut here---------------start------------->8---

             (index-text! term-generator subjects #:prefix "S")

=2D-8<---------------cut here---------------end--------------->8---

otherwise I could have realize that I was misinterpreting mumi search
output.

If for example I search for 'subject:zoneinfo' I get this results:

=2D-8<---------------cut here---------------start------------->8---

giovanni@roquette [genv]\: mumi search subject:zoneinfo
#31484 [PATCH] gnu: icu4c: Patch zoneinfo directory.
opened on 17 mag 2018 14:58 by Christopher Baines
#57448 =E2=9C=93 [PATCH 0/5] gnu: exa: Update to 0.10.1.
opened on 27 ago 2022 12:09 by =E3=82=AE=E3=83=A3=E3=83=A9
#58614 =E2=9C=93 [PATCH 000/187] Remove unused crates
opened on 18 ott 2022 22:18 by Efraim Flashner

=2D-8<---------------cut here---------------end--------------->8---
(the mumi CLI output is colored and the separation of each bug is
clearer)

Via web: https://issues.guix.gnu.org/search?query=3Dsubject%3Azoneinfo

Since 2 of the 3 patch "titles" are missing 'zoneinfo', I thought the
search was done in the subject and in the body, not just the subject.

For example, bug #58614 actually contains a message with this subject:
[PATCH 185/187] gnu: Remove rust-zoneinfo-compiled-0.4.

...my misunderstanding was due to the fact that each tracked bug (issue)
have a /Title/ given by the subject mail header from the original report
or by a retitle [1]; thus Title _is_ different from the "Subject"s of
the rest of the messages in the /thread/ of the tracked bug; when we
consider bugs tracking patches, actually each and every single patch
submission (not the reviews sent by people using a reply-to) do have a
different subject.

When searching for "subject:" it would be useful to have a speficic
message number and subject along with (or in place of) the bug title.

Using the search example above, a more useful result would be:

=2D-8<---------------cut here---------------start------------->8---

giovanni@roquette [genv]\: mumi search subject:zoneinfo
#31484 [PATCH] gnu: icu4c: Patch zoneinfo directory.
opened on 17 mag 2018 14:58 by Christopher Baines

#57448 =E2=9C=93 [PATCH 0/5] gnu: exa: Update to 0.10.1.
opened on 27 ago 2022 12:09 by =E3=82=AE=E3=83=A3=E3=83=A9
[PATCH 4/5] gnu: rust-zoneinfo-compiled: Update to 0.5.1.
sent on 27 Aug 2022 12:10 by gyara

#58614 =E2=9C=93 [PATCH 000/187] Remove unused crates
opened on 18 ott 2022 22:18 by Efraim Flashner
[PATCH 185/187] gnu: Remove rust-zoneinfo-compiled-0.4.
sent on 18 Oct 2022 22:20 by Efraim Flashner

=2D-8<---------------cut here---------------end--------------->8---

I'd also add a blank line to have clear results also with "BW" consoles.

A similar addition would also be useful in the web interface, also
having a link to the message corresponding to the searched subject,
like:

[PATCH 185/187] gnu: Remove rust-zoneinfo-compiled-0.4. -> https://issues.g=
uix.gnu.org/58614#184

Is it doable?

WDYT?

Thanks! Gio'


[1] https://debbugs.gnu.org/server-control.html

=2D-=20
Giovanni Biscuolo

Xelera IT Infrastructures

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmT9z8kMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSEDEQAOVS7lq9bEn5inNW8kjcD5vFSH8QO4si/x+7nJJe
UB9x90OOWdhRY7IzyzkX6apUXbGKb81ORLPXVyR9or3CQiSyrfkolcBSFAvbC8jw
xz7J0ZYtThuuNQWkFMKjmLdHrrhCtWCIkllYhKSK9cnP7crR0cYhDZ5JG1E8wlf5
M0p4A/0o9xYiPZ7et00v65cYpgJApwUoTGBcU53hFH0Rv/VkbaFfnC5Fk1cqzgmP
RFZQmT9OW67Qq47dr/aLS4cJ3ZKrCg49lVergMQ2vSd0YMq0Nf40yzIukLiAyOKn
07LrljLiCib4AydaeJPZyl3yoHQMtjO1KxedXTODrx4XLHqPXwpHR+KropVgaR+c
3ozbK1D2uq1D9zvbEsME70NS58sSLjkuCQfyidvuHdn7jEiRjDZPaO5TDoFZ1A7y
scNqtfT9A6UzV/BoAH9fm7krgfm4817WIk9YgdsIy0zeT3lAyoJwdaFgqiiVsVaE
fwl4nLYOpfHWR2wb8pO+PchcUMu3t3Qf/qG7H7H4s1U1MhRcHN7AW5hC6bZxIoao
9xlzkucVQEkn6G2hGJynyKuj9b9YK27YhQ3JC0dVd6SYFZPqbQ8TAIkDGWBJtHHl
JAM8ynOAOcaMObyowh1YUnCPC9WRVya6frQcfHf6HKnjMBpB5jyAzIBZcjOahulL
d/xK
=m8uz
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to arunisaac@HIDDEN, bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Sep 2023 04:48:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 10 00:48:24 2023
Received: from localhost ([127.0.0.1]:48744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qfCMy-0007y7-7P
	for submit <at> debbugs.gnu.org; Sun, 10 Sep 2023 00:48:24 -0400
Received: from lists.gnu.org ([2001:470:142::17]:48510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <arunisaac@HIDDEN>) id 1qfCMu-0007wl-42
 for submit <at> debbugs.gnu.org; Sun, 10 Sep 2023 00:48:22 -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 <arunisaac@HIDDEN>)
 id 1qfCMb-0000on-UU
 for bug-guix@HIDDEN; Sun, 10 Sep 2023 00:48:05 -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 <arunisaac@HIDDEN>)
 id 1qfCMY-0004Es-3C
 for bug-guix@HIDDEN; Sun, 10 Sep 2023 00:48:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=systemreboot.net; s=default; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=NKrmUcqscLqAZD4rGGDkzwKRxOWtQJK+0b0XlSL9wvY=; b=mDHrqKMT4+UrRPJ+iHRBF6WT5e
 PUx4SHIa+CDGghlsMJxkAQ2mINJaOmykEFQZamcruUiQ5r4VuDDMGo+5yZHo8C6OKpVMeXiP9BpBS
 MJiD0io+S80RjfeRiAb0ZyRYVncGkkcOZQKr1rqngE/DF8CZsYS6tou2E+e/y2JyvMnORqSBV8iCX
 zRulUV0Nx05pTesRohwrLTvbjnqNODHwnu100pX5buxMK4bO9Abo4HHocncq1JqAvRzDUVsnjuwCN
 KeP0HE8Pu1cFMWrwZGgfBeAUBm3VJJOMMap7wvpN+RyulPXM+jCJBie3dF1ICNWfEHIlOMHxG9nCn
 hY4KXGQQ==;
Received: from [192.168.2.1] (port=49062 helo=localhost)
 by systemreboot.net with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96)
 (envelope-from <arunisaac@HIDDEN>) id 1qfCMM-002Wpe-04;
 Sun, 10 Sep 2023 05:47:46 +0100
From: Arun Isaac <arunisaac@HIDDEN>
To: Giovanni Biscuolo <g@HIDDEN>, bug-guix@HIDDEN
Subject: Re: [mumi] [wishlist] Allow searching subject prefix
In-Reply-To: <871qfaexil.fsf@HIDDEN>
References: <871qfaexil.fsf@HIDDEN>
Date: Sun, 10 Sep 2023 05:47:41 +0100
Message-ID: <87y1hezlaq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=139.59.75.54;
 envelope-from=arunisaac@HIDDEN; 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, 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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


Hi Gio,

Thanks for this feature request! It's always gratifying to know that
someone is using mumi, especially its more advanced features! :-)

> IMO is useful to be able to search for "subject:foo", it's a different
> search than searching for foo in the body

It looks like we implement this already. See
https://git.savannah.gnu.org/cgit/guix/mumi.git/tree/mumi/xapian.scm#n141
A search for "subject:foo" should work already.

Cheers!
Arun




Information forwarded to bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 7 Sep 2023 16:53:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 07 12:53:09 2023
Received: from localhost ([127.0.0.1]:41265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qeIFg-0004M5-Mp
	for submit <at> debbugs.gnu.org; Thu, 07 Sep 2023 12:53:08 -0400
Received: from lists.gnu.org ([2001:470:142::17]:47912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <g@HIDDEN>) id 1qeIFa-0004LI-HY
 for submit <at> debbugs.gnu.org; Thu, 07 Sep 2023 12:53:04 -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 <g@HIDDEN>) id 1qeIFS-000587-4K
 for bug-guix@HIDDEN; Thu, 07 Sep 2023 12:52:54 -0400
Received: from ns13.heimat.it ([46.4.214.66])
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <g@HIDDEN>) id 1qeIFN-0007Ds-8i
 for bug-guix@HIDDEN; Thu, 07 Sep 2023 12:52:53 -0400
Received: from localhost (ip6-localhost [127.0.0.1])
 by ns13.heimat.it (Postfix) with ESMTP id D81DA30081A;
 Thu,  7 Sep 2023 16:52:46 +0000 (UTC)
X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it
Received: from ns13.heimat.it ([127.0.0.1])
 by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id PRYmuJTC-9ad; Thu,  7 Sep 2023 16:52:43 +0000 (UTC)
Received: from bourrache.mug.xelera.it (unknown [93.56.171.217])
 (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by ns13.heimat.it (Postfix) with ESMTPSA id 1061630080B;
 Thu,  7 Sep 2023 16:52:43 +0000 (UTC)
Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14])
 by bourrache.mug.xelera.it (Postfix) with SMTP id 55F4D298F2D4;
 Thu,  7 Sep 2023 18:52:42 +0200 (CEST)
Received: (nullmailer pid 19024 invoked by uid 1000);
 Thu, 07 Sep 2023 16:52:41 -0000
From: Giovanni Biscuolo <g@HIDDEN>
To: bug-guix@HIDDEN
Subject: [mumi] [wishlist] Allow searching subject prefix
Organization: Xelera.eu
Date: Thu, 07 Sep 2023 18:52:34 +0200
Message-ID: <871qfaexil.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@HIDDEN;
 helo=ns13.heimat.it
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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-Debbugs-Envelope-To: submit
Cc: Arun Isaac <arunisaac@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello,

IMO is useful to be able to search for "subject:foo", it's a different
search than searching for foo in the body

in file mumi/xapian.scm I read:

=2D-8<---------------cut here---------------start------------->8---

             ;; Index subject and body without prefixes for general
             ;; search.
             (index-text! term-generator subjects)
             (increase-termpos! term-generator)
             (index-text! term-generator text)

=2D-8<---------------cut here---------------end--------------->8---

Is it possible to add such a feature please?

Thanks! Gio'


P.S.: I did not Cc: Ricardo Wurmus since AFAIU he prefers not to
continue developing this

=2D-=20
Giovanni Biscuolo

Xelera IT Infrastructures

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmT5/9IMHGdAeGVsZXJh
LmV1AAoJENN9DqfOzDkSMjcP/0qP9WCW+VrZFrE7wHZKjjMh0+IRceKH5fqF0jSH
a6Jh+DJoI35HHk+gmCNWCR8jEptlls6VUq9rZgSOHiXe11XNofwU/NI0xxKely9M
+bxnUPgm/kY4foa/I/W/WgUl/EyGyA5egrZdLVzo4HShkbvtG0ho3luSh0U+vO6d
G4sQSzZdJeN3T+fLXx6G68bRtHzj02zMhNAZLjAPIT4k4SWwE1pXjquMaLiXQHaG
NIXnjyw9KRNIVb+aAVI1cIh55eJsZfpTktfiuW3r0bbSMvqUZtYsFHgJJjhiS5wL
s+M0tP+L3648inQ17KZl/s6//OCEOuZHMmzCdwTx1WplHBkjvXEokQMWMJRGAYuo
bfFI4vNurgd5/koeyDj89XuPvbCrneoy+A7sOBAe8Q8uNaMk4nlp8phxJor6y04H
8sVdWPGwdtwmko9k7gDMPo6HjmWvOPNWszzdigMfMfmgNvfMksf/F6DEyZCxZT9h
F4Mlp6HjscepHy5ZTktePJvbfNUq/hhZPMIYSFiL+ENNTmZNgLQooeyLuAYtP4V+
b/ND6+Z3wZqP4UCYhd1BFe4QDeTPWd7+pyTTySxQC7MEbvMrQLlk0qgKIjjhX4+v
bi0GOjAp75XbzcGcoTZY7MGWZ0bg4vXZ36+nhtsmsoRaxdPYK/MWfKELZjJdle04
Hiwk
=HiKb
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Giovanni Biscuolo <g@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#65809; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 8 Feb 2024 18:15:01 UTC

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