unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Olly Betts <olly@survex.com>
To: io <io@ooeeeoo.com>
Cc: notmuch@notmuchmail.org, xapian-discuss@lists.xapian.org
Subject: Re: Advanced search with wildcard using notmuch for mutt
Date: Thu, 7 Dec 2023 18:55:46 +0000	[thread overview]
Message-ID: <20231207185546.GS4059@survex.com> (raw)
In-Reply-To: <ZXAdnDO+NIWGywkL@mail.ooeeeoo.com>

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

      reply	other threads:[~2023-12-07 18:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30  2:18 Advanced search with wildcard using notmuch for mutt io
2023-11-30 11:53 ` Michael J Gruber
2023-11-30 13:31   ` David Bremner
2023-12-04  1:36     ` io
2023-12-04 11:39       ` David Bremner
2023-12-04 20:00         ` Olly Betts
2023-12-04 21:10           ` David Bremner
2023-12-06  7:07             ` io
2023-12-07 18:55               ` Olly Betts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231207185546.GS4059@survex.com \
    --to=olly@survex.com \
    --cc=io@ooeeeoo.com \
    --cc=notmuch@notmuchmail.org \
    --cc=xapian-discuss@lists.xapian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).