From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6577 invoked from network); 23 Apr 2022 05:23:23 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 23 Apr 2022 05:23:23 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ni8Ep-00Bo9t-QG for ml@inbox.vuxu.org; Sat, 23 Apr 2022 00:23:19 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1ni8Ep-007nQ9-HG for ml@inbox.vuxu.org; Sat, 23 Apr 2022 00:23:19 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1ni8Em-007nQ0-VX for ding@lists.math.uh.edu; Sat, 23 Apr 2022 00:23:17 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ni8El-00F2eH-0k for ding@lists.math.uh.edu; Sat, 23 Apr 2022 00:23:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=mtoTjfhIXnNNl4XPE55BlPEpPMFeXtNXMgm0qmsiwAc=; b=jKvFbPrOezJbLUhyTdfziGj3ut vrggz/LNnvBlszRzLENvH52GgMGA6ukyVtx4P6Wy2oZvwCAqNdUCVWgxpjtQNZnShJ210972KaT8B c18L0AxIWtti8XKJpJGwfOq/KfUPpTbTx2yIrxQrytnHYnmJaexCTfihRzPlPT4tlW+M=; Received: from mail.sergiodj.net ([167.114.15.217]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ni8Ec-0006Qm-MJ for ding@gnus.org; Sat, 23 Apr 2022 07:23:09 +0200 Received: from localhost (unknown [IPv6:2607:f2c0:ed84:8f1:977c:191d:8dd:11d1]) by mail.sergiodj.net (Postfix) with ESMTPSA id A738FA0178 for ; Sat, 23 Apr 2022 01:23:03 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sergiodj.net; s=20160602; t=1650691383; bh=GExcY6heYN9D0q6KZ7ugY20+66KuoON6IBxdmF5cpbM=; h=From:To:Subject:References:Date:In-Reply-To:From; b=U+YVZw27QAQwKumESs0Y8cx0AEko2OTnoQdoD+WgOTr3ioreoRv+Eyl96Un+5iNYI hmDEmaEyEcEnmeMAAdcGP8qs34iIIiJn1aIi0obfJVWtbtACJAdyHhM812E3IY0D2O M46SyFKwDr4IdfGwZahXinuR5CtVkByt5Y1CULcE= From: Sergio Durigan Junior To: ding@gnus.org Subject: Re: gnus-search-imap and quoted queries References: <87mtghgikv.fsf@sergiodj.net> X-URL: http://blog.sergiodj.net Date: Sat, 23 Apr 2022 01:23:03 -0400 In-Reply-To: <87mtghgikv.fsf@sergiodj.net> (Sergio Durigan Junior's message of "Tue, 19 Apr 2022 12:10:24 -0400") Message-ID: <87o80s4bm0.fsf@sergiodj.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk On Tuesday, April 19 2022, I wrote: > I have GNUS configured to use a local Dovecot IMAP server (a fairly > common setup, I think) and I've been trying to get gnus-search-imap > working. I set gnus-search-use-parsed-queries to t, by the way. > > I noticed that when I specify a quoted query as the search input, the > results don't reflect what I'd expect. FWIW, I finally had some time to look deeper into this and found that the culprit was the Dovecot FTS plugin I was using (fts-xapian). It doesn't follow the IMAP RFC strictly and therefore can't/won't do substring searches. I'm now using another Xapian-based plugin called fts-flatcurve which DTRT. Thanks for the help, it's been fun investigating this problem. -- Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/