unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Austin Clements <amdragon@MIT.EDU>
To: notmuch@notmuchmail.org
Subject: [PATCH] news: Store "from" and "subject" headers in the database.
Date: Mon, 14 Nov 2011 20:15:33 -0500	[thread overview]
Message-ID: <1321319734-6952-1-git-send-email-amdragon@mit.edu> (raw)
In-Reply-To: <87ty66b8bq.fsf@zancas.localnet>

---
 NEWS |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/NEWS b/NEWS
index 71c7c9a..88f7b20 100644
--- a/NEWS
+++ b/NEWS
@@ -23,6 +23,21 @@ Add search terms to  "notmuch dump"
   search/show/tag. The output file argument of dump is deprecated in
   favour of using stdout.
 
+Optimizations
+-------------
+
+Search avoids opening and parsing message files
+
+  We now store more information in the database so search no longer
+  has to open every message file to get basic headers.  This can
+  improve search speed by as much as 10X, but taking advantage of this
+  requires a database rebuild:
+
+	notmuch dump > notmuch.dump
+	# Backup, then remove notmuch database ($MAIL/.notmuch)
+	notmuch new
+	notmuch restore notmuch.dump
+
 Notmuch 0.9 (2011-10-01)
 ========================
 
-- 
1.7.7.1

      reply	other threads:[~2011-11-15  1:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-06 17:17 [PATCH] Store "from" and "subject" headers in the database Austin Clements
2011-11-06 21:07 ` Jani Nikula
2011-11-06 21:59   ` Daniel Schoepe
2011-11-06 22:01   ` Austin Clements
2011-11-06 22:30     ` Jani Nikula
2011-11-06 21:41 ` Daniel Schoepe
2011-11-11  1:33 ` Pieter Praet
2011-11-11  1:38   ` Pieter Praet
2011-11-11  3:00     ` Austin Clements
2011-11-14  6:34 ` Jameson Graef Rollins
2011-11-14 23:19 ` David Bremner
2011-11-15  1:15   ` Austin Clements [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=1321319734-6952-1-git-send-email-amdragon@mit.edu \
    --to=amdragon@mit.edu \
    --cc=notmuch@notmuchmail.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).