From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 2BgHEjkVcmV9DQEA9RJhRA:P1 (envelope-from ) for ; Thu, 07 Dec 2023 19:55:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2BgHEjkVcmV9DQEA9RJhRA (envelope-from ) for ; Thu, 07 Dec 2023 19:55:53 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DEBD252594 for ; Thu, 7 Dec 2023 19:55:52 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701975353; a=rsa-sha256; cv=none; b=i/elzdoeoQQy6YIfjKNQjUcIoH/dQ3sHucd5rs7Ytc2oRFCEQucBMq28jCbbZlhqy1tT15 xrcBGI1Ii9nHrtoyMQf6ZKEoJiUgFY1T7oAiSFOxA5Mun4JweDdUMfT9WUy38JutC0n8Vf bJYv0VOXwTipr4/FCGr1g6z0W+Vk2JzzIDJeu3c+82qD0n1u76c4xcDfm/Qe6XN/6HgZsJ oIDSBwlaL/q5blocHJLxHpe1o8kdF2K2O0TspJhOezXuMaeP+QXXf6vEf0gA1tU6WEkaxX L1L/XfOy2ai1GIueU2NBssd+UemEyVdIa0HuDTt1/SXpzIuniekzx3YQLO8KlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701975353; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=5SPGujCqj9s7xjqCAtrPNXVQlP1bYrNc0t535CSoUzY=; b=eJQHLqCGpBJz0yzKoHzBjn12HoqkPm9bLrUg+bNa/3CYj8iHd6jJ/vNJsjMVuxBow4m+wt dM2HruZd4LVbAI/R2YqCsDLVxybAB8G7wFueK8WUhGJRmHxPTT4zr3bCjDv/s0f96xwtr8 oj51MCbDRV43SDPDoQIjN7KX1/3E8tpR5TwYjIu1yCCxnKd0uMxo0ZPljpakG+WgpVd8gT b6YpXhUkrK6zRsl3qUM4lE3ETmccYSrhdgSwhV2PkkhvIFDz7stwZYgUPMa7jAg/2oqF/z rwwqH49evUZBCUQmS6QoXCGm4ObGswi2pSs6EAu31dxxxad/RVraCPM1kM6rQg== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7548B6096C; Thu, 7 Dec 2023 18:55:50 +0000 (UTC) Received: from thyestes.tartarus.org (thyestes.tartarus.org [5.196.91.86]) by mail.notmuchmail.org (Postfix) with ESMTPS id E86385E510 for ; Thu, 7 Dec 2023 18:55:47 +0000 (UTC) Received: from olly by thyestes.tartarus.org with local (Exim 4.92) (envelope-from ) id 1rBJXG-0003Vb-HJ; Thu, 07 Dec 2023 18:55:46 +0000 Date: Thu, 7 Dec 2023 18:55:46 +0000 From: Olly Betts To: io Subject: Re: Advanced search with wildcard using notmuch for mutt Message-ID: <20231207185546.GS4059@survex.com> Mail-Followup-To: io , David Bremner , notmuch@notmuchmail.org, xapian-discuss@lists.xapian.org References: <87jzpzqsew.fsf@tethera.net> <87edg2gps0.fsf@tethera.net> <20231204200020.GR4059@survex.com> <87sf4hisgu.fsf@tethera.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Message-ID-Hash: ZDT7HLBXXUYUHELHDVGWCUQZO66PIFWZ X-Message-ID-Hash: ZDT7HLBXXUYUHELHDVGWCUQZO66PIFWZ X-MailFrom: olly@survex.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: notmuch@notmuchmail.org, xapian-discuss@lists.xapian.org X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Xapian Discussion List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -0.69 X-Spam-Score: -0.69 X-Migadu-Queue-Id: DEBD252594 X-TUID: 02AtnLC+HauQ On Wed, Dec 06, 2023 at 03:07:08PM +0800, io wrote: > i like to know how do we use 'FLAG_FUZZY' if one need to use 'quest' > to do the search query. E.g. this will match a document indexed by term "fuzzy": quest --flags=default,fuzzy --db=/path/to/db 'phuzzy~' Default edit distance is 2, but you can also specify it explicitly, e.g. phuzzi~3 sets it to 3 and phuzzi~0.5 sets it to half the length (so also 3 here). As Bremner indicated, this is new in git master. Cheers, Olly