Re: Faster message body searching
* Chinmaya Nagpal [2021-08-20 23:20]: > Is there any way to make it faster to do ~b limits in maildir mailboxes? > I don't really use notmuch for much other than message body searching so > I'm considering if I should get rid of it entirely. If you don't know who is the correspondent and you wish to find message by body search then either you would use indexer like notmuch, and I am using "mu" indexer https://github.com/djcb/mu/ as I find it better; or maybe you could use simple `grep' to locate the message, which would be probably slower with larger number of Maildirs. In order to limit searches in bodies to specific conversant my Maildir setup is such that all emails related to specific email address are automatically saved to corresponding Maildir folder: ~/Maildir/u...@example.com is Maildir directory containing all emails to and from u...@example.com ~/Maildir/other-u...@other-example.com is Maildir directory containing all emails to and from other-u...@other-example.com That way if I wish to search with ~b narrowed and related to specific email address then the search goes much faster. Otherwise I have to use indexer to locate those messages which I do not know to which conversant they belong. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/
Re: Faster message body searching
On Sat, Aug 21, 2021 at 01:49:27AM +0530, Chinmaya Nagpal wrote: Is there any way to make it faster to do ~b limits in maildir mailboxes? $thorough_search, set by default, decodes each message before searching through it. You most likely want to do this, but it does slow the searching down. Each message is decoded to a temp file. You might see some speedup by setting $tmpdir to memory, e.g. "/dev/shm", during the search. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA signature.asc Description: PGP signature
Faster message body searching
Is there any way to make it faster to do ~b limits in maildir mailboxes? I don't really use notmuch for much other than message body searching so I'm considering if I should get rid of it entirely.
Re: Body searching
On Mon, Aug 24, 2009 at 12:57:11PM +0800, fvw wrote: > / ~b EXPR Thanks. -- Noah Slater, http://tumbolia.org/nslater
Re: Body searching
On Mon, Aug 24, 2009 at 12:57:11PM +0800, fvw wrote: > On Mon, Aug 24, 2009 at 04:36:25AM +0100, Noah Slater wrote: > >How can I search through the body of all messages in a folder? > > > >I have mairix set up for my archives, but not my inbox. My current > >setup would make it problematic to do so. Is it possible to do a > >simple search through the message bodies of the current folder? > > / ~b EXPR For me, that works on uncollapsed threads only, so I need to precede it with V . I'm not aware of a way around that. Erik -- Each year, humanity's ecological overdraft gets larger, ... and nature doesn't do bailouts. - Andrew Simms
Re: Body searching
On Mon, Aug 24, 2009 at 04:36:25AM +0100, Noah Slater wrote: >Hey, > >How can I search through the body of all messages in a folder? > >I have mairix set up for my archives, but not my inbox. My current setup would >make it problematic to do so. Is it possible to do a simple search through the >message bodies of the current folder? / ~b EXPR
Body searching
Hey, How can I search through the body of all messages in a folder? I have mairix set up for my archives, but not my inbox. My current setup would make it problematic to do so. Is it possible to do a simple search through the message bodies of the current folder? Thanks, -- Noah Slater, http://tumbolia.org/nslater