From: Austin Clements Date: Sun, 6 Nov 2011 17:17:36 +0000 (-0500) Subject: Store "from" and "subject" headers in the database. X-Git-Tag: 0.10_rc1~11 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=567bcbc294b3aed632d18eb22056840292bdeb1e;hp=567bcbc294b3aed632d18eb22056840292bdeb1e Store "from" and "subject" headers in the database. This is a rebase and cleanup of Istvan Marko's patch from id:m3pqnj2j7a.fsf@zsu.kismala.com Search retrieves these headers for every message in the search results. Previously, this required opening and parsing every message file. Storing them directly in the database significantly reduces IO and computation, speeding up search by between 50% and 10X. Taking full advantage of this requires a database rebuild, but it will fall back to the old behavior for messages that do not have headers stored in the database. ---