unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* a first step for the duplicate message-id dilemma
@ 2017-03-16  1:57 David Bremner
  2017-03-16  1:57 ` [RFC patch 1/2] test: add known broken test for duplicate message id David Bremner
  2017-03-16  1:57 ` [RFC patch 2/2] lib: index message files with duplicate message-ids David Bremner
  0 siblings, 2 replies; 9+ messages in thread
From: David Bremner @ 2017-03-16  1:57 UTC (permalink / raw)
  To: notmuch


These are mainly RFC because I'm not 100% sure about the performance
impact.  It seems OK for me: about 3% slower indexing my 500 K
messages with about 35k duplicates. I didn't see a noticable increase
in database size (both cases it's 5.8G / 3.5G before/after notmuch
compact).

There are also tons of UI issues: for example in the test case here,
notmuch search subject:'"message 2"' will happily print

thread:0000000000000001   2001-01-05 [1/1] Notmuch Test Suite; message 1 (inbox unread)

I claim it's still an improvement over the current code, where that
second message is not findable by any terms unique to it.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-03-22 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-16  1:57 a first step for the duplicate message-id dilemma David Bremner
2017-03-16  1:57 ` [RFC patch 1/2] test: add known broken test for duplicate message id David Bremner
2017-03-16  1:57 ` [RFC patch 2/2] lib: index message files with duplicate message-ids David Bremner
2017-03-16 18:22   ` Daniel Kahn Gillmor
2017-03-17  0:34     ` David Bremner
2017-03-17 16:44       ` Daniel Kahn Gillmor
2017-03-18 21:31         ` David Bremner
2017-03-22 17:29       ` Jani Nikula
2017-03-17  5:47     ` Mark Walters

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).