[notmuch] strange behavior of indexing of and searching for strings containing '[]'
Jameson Rollins
jrollins at finestructure.net
Fri Feb 5 08:44:15 PST 2010
Hey, folks. I've been noticing some strange behavior of notmuch search
results for strings containing '[]'. Here are some searches for some
exact strings in messages subjects:
servo:~ 0$ notmuch search subject:'emacs paned UI'
thread:533da424197bb6ba61a42b667d5d8d8f Wed. 14:12 [2/2] Tad Fisher, Jameson Rollins; [notmuch] Emacs paned UI ()
servo:~ 0$
So that's fine and expected. This however is not:
servo:~ 0$ notmuch search subject:'[notmuch] emacs paned UI'
thread:5f2cb4b108773a39161b33c86e54f7fd 4 mins. ago [1/1] Jameson Rollins; [notmuch] loss of duplicate messages (inbox)
servo:~ 0$
Not only did it not turn up the message that *does* match that exact
string in it's subject line, it actually turns up a completely different
message that doesn't match the search term at all!
This search actually turns up both:
servo:~ 0$ notmuch search subject:'notmuch emacs paned UI'
thread:5f2cb4b108773a39161b33c86e54f7fd 5 mins. ago [1/1] Jameson Rollins; [notmuch] loss of duplicate messages (inbox)
thread:533da424197bb6ba61a42b667d5d8d8f Wed. 14:12 [2/2] Tad Fisher, Jameson Rollins; [notmuch] Emacs paned UI ()
servo:~ 0$
Which is again strange, because the second message does not at all match
that search term.
Does anyone have any idea what's going on here? I think I saw mention
of this issue on IRC somewhere, but I thought I should bring it up
explicitly here. This is definitely some buggy behavior.
jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100205/5ea39095/attachment.pgp>
More information about the notmuch
mailing list