From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OEM5D8njBmXBhQAAauVa8A:P1 (envelope-from ) for ; Sun, 17 Sep 2023 13:32:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OEM5D8njBmXBhQAAauVa8A (envelope-from ) for ; Sun, 17 Sep 2023 13:32:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 56EAE66B41 for ; Sun, 17 Sep 2023 13:32:24 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=RkKrmBJy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694950345; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=NxBlzYA8VNge6kJ5sHmf+PDEPZdiU6+TcRBZw22Fvbk=; b=iIMG013jgmdf8o9wyKGvKztFp8Ncy0HqhP5eHkbwhoEd2Y+k7HDvq/3Mowq6ARvUaW0iiE r+1tHMiC0FnZBtyxxDMTlxfJ9bVz/g6wpdT0lEmiPfG673k8N8VqhDbGt66fKbdiCObf6t QIsvnauYuu0eshXko89+tApB3/RmamvgSNilUw1MNb+SGEfIcVOqAr9fwJzbILcjyGfssR xZNZT4rxjw8fSfyXAwlT/yU6OUCiM3DmCytkWWqU2sLdqdxU6Iyh7dHUhCcfPfbHSVqOBR kukAFtDWNoxZFlowHB3C5dhz0VKkA5NJUFLYKgt3xTy9fSWLAtAziwbEI/7QZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694950345; a=rsa-sha256; cv=none; b=gsHpy/Njtn0Qnl1LJgOV1zIfnoxBW/iXd7qWnG1mOt+5GEZpi+OpXxut74dZriP9qRZF/K xhk8boUSeG9qGKy1siLV9GWBkYls10hQX0ZupQRLuwDmSfIumWZRIW5/3PalTB7IFj8ckq O+63ngIsUu+WXZdLqPCISvS8bAC+IkdF3Ma1b7qUXFivTnXu8xVItw8QhU7rRqQYRBCUj+ J5xPdfrjQIn3ErCLjhAO7VTATryr5v4f3NZl12tgISdgpHu/1SgY5LG3smg7EbzoWtmTA6 oNMYLaN2QZPBB7XykSxNJVSw9KbeLkjB1a7PAySV7Bdqow3NWCKJoap1os3x9w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=systemreboot.net header.s=default header.b=RkKrmBJy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=systemreboot.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhpKj-0001B3-Ux; Sun, 17 Sep 2023 06:48:58 -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 1qhpKh-0001AH-Sy for bug-guix@gnu.org; Sun, 17 Sep 2023 06:48:55 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhpKh-0002vs-1a for bug-guix@gnu.org; Sun, 17 Sep 2023 06:48:55 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhpKo-0007QJ-IG for bug-guix@gnu.org; Sun, 17 Sep 2023 06:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#65809: mumi: Add msg number and subject in search results when searching for subject: Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 17 Sep 2023 10:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65809 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Giovanni Biscuolo , 65809@debbugs.gnu.org Received: via spool by 65809-submit@debbugs.gnu.org id=B65809.169494771628433 (code B ref 65809); Sun, 17 Sep 2023 10:49:02 +0000 Received: (at 65809) by debbugs.gnu.org; 17 Sep 2023 10:48:36 +0000 Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhpKN-0007OU-Q6 for submit@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 ) id 1qhpKL-0007Nw-8C for 65809@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 ) id 1qhpK8-0008Bl-1u; Sun, 17 Sep 2023 11:48:21 +0100 From: Arun Isaac In-Reply-To: <8734zmdsfq.fsf@xelera.eu> References: <871qfaexil.fsf@xelera.eu> <87y1hezlaq.fsf@systemreboot.net> <8734zmdsfq.fsf@xelera.eu> Date: Sun, 17 Sep 2023 11:48:16 +0100 Message-ID: <87ttrtt6rz.fsf@systemreboot.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 5.74 X-Spam-Score: 5.74 X-Migadu-Queue-Id: 56EAE66B41 X-Migadu-Scanner: mx0.migadu.com X-TUID: izMtclgqnETm 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