Displaying 20 results from an estimated 1000 matches similar to: "Advanced search with wildcard using notmuch for mutt"
2023 Dec 04
1
Advanced search with wildcard using notmuch for mutt
Olly Betts <olly at survex.com> writes:
> The development version of Xapian supports both `*` and `?` glob-style
> wildcards in any position.
>
> You can enable them for the QueryParser using FLAG_WILDCARD_MULTI,
> FLAG_WILDCARD_SINGLE or FLAG_WILDCARD_GLOB (the last one is just the
> first two combined).
I see FLAG_FUZZY as well, supporting edit distance. Sounds like
2023 Dec 04
1
Advanced search with wildcard using notmuch for mutt
On Mon, Dec 04, 2023 at 06:39:43AM -0500, David Bremner wrote:
> I guess the restriction is based on what is easy to do efficiently with
> the Xapian database (find prefixes). If I remember correctly there was
> some work in progress to support leading wildcards in Xapian. I can't
> find relevant discussion now, but I CC'ed the Xapian list in case
> someone remembers that.
2023 Dec 06
1
Advanced search with wildcard using notmuch for mutt
i like to know how do we use 'FLAG_FUZZY' if one need to use 'quest' to do the search query.
--
Best regards,
io
On Mon, Dec 04, 2023 at 05:10:57PM -0400, David Bremner wrote:
> Olly Betts <olly at survex.com> writes:
>
> > The development version of Xapian supports both `*` and `?` glob-style
> > wildcards in any position.
> >
> > You can
2018 Sep 10
1
Notmuch DB Problems
David Bremner <david at tethera.net> writes:
>> Here's why it would freeze:
>>
>> I have a post-new hook that runs a Python script. Depending on
>> whether the new email it is processing matches a rule I have,
>> it will fire off an email to the sender using the SMTP library
>> in Python.
>>
>> I had recently upgraded my MTA
2017 Dec 31
1
notmuch: Xapian exception during database creation
On Friday, 2017-12-29 at 22:23:01 UTC, Olly Betts wrote:
>> After the failure the database appears to be okay:
>>
>> > agrajag-testing ~/s/notmuch % xapian-check ~/Maildir/.notmuch/xapian
>> > ...
>> > position table structure checked OK
>
> This seems to be for an almost empty database (2 items in the postlist
> table and nothing anywhere else)
2016 Apr 07
2
slowdown in notmuch perf suite with xapian 1.3.5
I hadn't noticed any interactive slowdown, but when I got around to
running the notmuch performance suite, there seems to be some noticable
slowdown with the glass backend (default in Xapian 1.3.5) compared to
chert (using xapian 1.2.22)
These tests are on an older i7 with 12G of RAM and an SSD. I'm
reasonable confident they are CPU bound. One curious thing is the
increase in system time
2019 Jul 09
2
Transitioning notmuch/Xapian from 32-bit to 64-bit system
Hi!
Suppose you have a huge notmuch/Xapian database, built on a 32-bit system
(well, actually on x86_64-pc-linux-gnu, but using a years old 32-bit
notmuch binary; notmuch 0.9, Xapian 1.2.21 -- don't laugh), and suppose
you're finally going to update that years old notmuch installation
(release by release, forward-porting a bunch of patches). Naturally, I'd
now do a native 64-bit
2018 Sep 10
3
Notmuch DB Problems
Mueen Nawaz <mueen at nawaz.org> writes:
> After a lot of poking around, I figured out the problem, and this may be
> of interest to the developers (although not sure if it is a xapian issue
> or a notmuch issue).
>
> Here's why it would freeze:
>
> I have a post-new hook that runs a Python script. Depending on whether
> the new email it is processing matches a
2020 Apr 07
2
crash after running notmuch new
Matt <mattator at gmail.com> writes:
> thanks didn't know about xapian-check !
> the output
> ===
> docdata:
> blocksize=8K items=70 firstunused=3 revision=421 levels=0 root=2
> B-tree checked okay
> docdata table structure checked OK
>
> termlist:
> blocksize=8K items=186136 firstunused=62058 revision=421 levels=2 root=12260
> B-tree checked okay
>
2017 Dec 29
2
notmuch: Xapian exception during database creation
Running notmuch from git on Debian testing[1] with the mail and database
sitting on a ZFS filesystem, adding mail to a new database:
> agrajag-testing ~/s/notmuch % ./notmuch new
> Found 605510 total files (that's not much mail).
> add_file: A Xapian exception occurred36m 37s remaining).
> A Xapian exception occurred adding message: Unexpected end of posting list for
2020 Apr 20
4
performance problems with notmuch new
Franz Fellner <alpine.art.de at gmail.com> writes:
> I also suffer from bad performance of notmuch new. I used notmuch
> some years ago and notmuch new always felt instantanious. Had to stop
> using it because internet was too slow to sync my mails :/ Now (with
> better internet and a completely new setup using mbsync) indexing one
> mail takes at least 10 seconds,
2017 Dec 29
0
notmuch: Xapian exception during database creation
On Fri, Dec 29, 2017 at 03:00:47PM +0000, David Edmondson wrote:
> Running notmuch from git on Debian testing[1] with the mail and database
> sitting on a ZFS filesystem, adding mail to a new database:
>
> > agrajag-testing ~/s/notmuch % ./notmuch new
> > Found 605510 total files (that's not much mail).
> > add_file: A Xapian exception occurred36m 37s remaining).
2020 Apr 22
0
performance problems with notmuch new
On Mon, Apr 20, 2020 at 11:36:36AM -0300, David Bremner wrote:
> Franz Fellner <alpine.art.de at gmail.com> writes:
>
> > I also suffer from bad performance of notmuch new. I used notmuch
> > some years ago and notmuch new always felt instantanious. Had to stop
> > using it because internet was too slow to sync my mails :/ Now (with
> > better internet and a
2020 Apr 24
1
performance problems with notmuch new
On Thu Apr 23 00:21:30 2020, Olly Betts <olly at survex.com> wrote:
> First question: what version of Xapian are you using?
On my laptop it's 1.4.15 (arch linux) and the desktop runs 1.4.14 (Gentoo linux)
> And second thing to check, are you committing each message separately?
No, I sync with mbsync which dosnloads a bunch of mails,
then I run notmuch new which indexes all in
2020 Apr 07
0
crash after running notmuch new
On Tue, Apr 07, 2020 at 05:21:47PM -0300, David Bremner wrote:
> Matt <mattator at gmail.com> writes:
[...]
> > termlist:
> > blocksize=8K items=186136 firstunused=62058 revision=421 levels=2 root=12260
> > B-tree checked okay
> > termlist table structure checked OK
> >
> > postlist:
> > blocksize=8K items=2598971 firstunused=61412 revision=421
2020 Apr 24
0
performance problems with notmuch new
Franz Fellner <alpine.art.de at gmail.com> writes:
>
> On Thu Apr 23 00:21:30 2020, Olly Betts <olly at survex.com> wrote:
>> Then I'd try compacting the database (I think there's a "notmuch
>> compact" subcommand to do this).
> And there we go. Cured the issues. Dropped the very first indexing
> from several minutes to 1.5 seconds on the
2018 Sep 06
0
Any tips on invoking notmuch cli securely? (pre-ANN yet another web client)
Daniel Barlow <dan at telent.net> writes:
> There are a number of ways this is currently insecure but the particular
> one I want to ask about today is running the notmuch cli commands with
> user-supplied arguments and whether there are any particular gotchas in
> doing so? I am reasonably sure that my code to invoke notmuch(1) is
> calling execve(2) without invoking
2019 Jul 09
0
Transitioning notmuch/Xapian from 32-bit to 64-bit system
Thomas Schwinge <thomas at schwinge.name> writes:
> sizes?). Doing some light (read-only!) testing, it seems to work fine to
> access the old 32-bit built Xapian "chert" database with 64-bit
> notmuch/Xapian. Is that (a) generally safe and expected to work fine,
> (b) there may be issues, or (c) don't do that, or don't know?
>
IIRC, Olly previously
2012 Feb 03
0
Feature request - search and tag protocol - notmuch-alike approach
Hi all,
notmuch[1] becomes more and more popular. At least in geek community.
But notmuch is local-only (except ssh)...
It looks like it's hard (if even possible) to use IMAP as transport for
notmuch-alike work flow. I think it would be great to create a new
protocol based global search and message tagging.
All core notmuch operations (search, show, count, tag) can be mapped to
the new
2018 Sep 10
0
Notmuch DB Problems
Mueen Nawaz <mueen at nawaz.org> writes:
>
> DATABASE = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
OK. So your code is locking the database, and never unlocking it
(because of the hang). So that part is at least not mysterious.
> I can think of two experiments:
I was thinking more along the lines of something that could be part of
the notmuch test suite, i.e. run in