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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, 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 21160 invoked from network); 23 Apr 2022 16:02:24 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 23 Apr 2022 16:02:24 -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 1niIDF-00C6Ep-ML for ml@inbox.vuxu.org; Sat, 23 Apr 2022 11:02:21 -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 1niIDF-007oP8-1D for ml@inbox.vuxu.org; Sat, 23 Apr 2022 11:02:21 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1niIDC-007oOz-IM for ding@lists.math.uh.edu; Sat, 23 Apr 2022 11:02:18 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1niIDA-00C6EW-Bg for ding@lists.math.uh.edu; Sat, 23 Apr 2022 11:02:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DCLzbt/pvxR3H3+S0KT2vxxiVmt7XAs5DPvA73TwhbY=; b=JlXv/zdTeE13TqesISVGStvujS zUbSDrfg84h6+PYvAX3xcOVKLIYrBZUhcl9s/mgwymWLQgKVApCESaSgcEKOqP40FPn5pxoYGOTJJ uzHEaCS7GDTDqNtJGL24dij9CM08FLdyMAXTb9GkmU1ZX0dnqooQv+uwIYpAjRUwYVys=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1niID2-0008NQ-7J for ding@gnus.org; Sat, 23 Apr 2022 18:02:10 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1niID0-0003Sb-Dn for ding@gnus.org; Sat, 23 Apr 2022 18:02:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: gnus-search-imap and quoted queries Date: Sat, 23 Apr 2022 09:01:57 -0700 Message-ID: <87zgkbhjpm.fsf@ericabrahamsen.net> References: <87mtghgikv.fsf@sergiodj.net> <87o80s4bm0.fsf@sergiodj.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:9SVAn6RQqDutSYkd4+5eIyPMhN8= List-ID: Precedence: bulk Sergio Durigan Junior writes: > 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. Hey that's pretty interesting. Looks like I'm using lucene, which seems to work fine. I wonder if it merits a brief mention in the manual that different backends behave differently.