From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 9DA3A1F55B; Tue, 26 May 2020 21:35:50 +0000 (UTC) Date: Tue, 26 May 2020 21:35:50 +0000 From: Eric Wong To: meta@public-inbox.org Subject: Re: Search based on data in follow-ups Message-ID: <20200526213550.GA20081@dcvr> References: <20200526191745.34vynfasnf3amyjq@chatter.i7.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200526191745.34vynfasnf3amyjq@chatter.i7.local> List-Id: Konstantin Ryabitsev wrote: > Hello: > > I suspect this would be Pretty Hard To Do, but wanted to mention it on > the list anyway, just as a "musing out loud." It would be cool to be > able to exclude/include results based on conditions in thread > follow-ups. E.g.: Yup, I've wanted something like this, too. > - (subject contains "PATCH") AND (follow-up from testbot@example.com > that contains "Passed") AND NOT (follow-up from me that contains > "Applied|NACK") > > I expect this would require client-side filtering, though, as I can't > imagine being able to sanely do this with Xapian. Without promising anything, it could be doable server-side if we're careful to not hog the event loop. It'll depend on the "mairix -t" functionality I've talked about, and maybe multiple queries to Xapian or SQLite... It would take extra CPU for sure, what's CPU usage look like on lore at peak times?