From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 71A611F452; Tue, 28 Mar 2023 22:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1680041310; bh=R6ZZP/9yuBtDDs0bGL+WNsr8TnmC1MIsmSmmgpN2oao=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MZnZefjACyPwKwq+013L10NH8lhnmFV/c7npvJpojmA2rT7s7E564Lmc68Og28SLN khLK+BI59/bNIhpP5bfuSD+kOlaZY3cZGjNzFg5sTlaK/iug6e3FsQsdlr/j4d7GVO XAnTyX6MzWhuHIxbUIw7rLlJGtPS766N5tdb3KE8= Date: Tue, 28 Mar 2023 22:08:30 +0000 From: Eric Wong To: Konstantin Ryabitsev Cc: meta@public-inbox.org Subject: Re: Cheap way to check for new messages in a thread Message-ID: <20230328220830.M352242@dcvr> References: <20230327191049.M277377@dcvr> <20230327213849.M743623@dcvr> <20230328194549.M808175@dcvr> <20230328-monsoon-charred-giver-91f26d3024fb@meerkat> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230328-monsoon-charred-giver-91f26d3024fb@meerkat> List-Id: Konstantin Ryabitsev wrote: > On Tue, Mar 28, 2023 at 07:45:49PM +0000, Eric Wong wrote: > > C) index References:/In-Reply-To: so searching `ref:$MSGID' > > can work. This doesn't work for some MUAs and deep > > threads, though. > > I think this is a workable approach, but would require a reindex, right? Yes, it requires a reindex to take effect, which takes ~2 days on my lore mirror. The biggest problem is MUAs are likely to cull References: when threads get too long; so accuracy gets lost. Supporting /$MSGID/?q=... doesn't seem like the worst idea, actually; since I've seen some web forums (phpBB maybe?) have a "search in thread" function. thread:{sub-query} is ideal; and I wouldn't rule out doing any combination of the three (I don't like separating before/after).