unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* strange behavior of indexing of and searching for strings containing '[]'
@ 2010-02-05 16:44 Jameson Rollins
  2010-02-05 18:08 ` Oliver Charles
  2010-02-05 23:48 ` Olly Betts
  0 siblings, 2 replies; 6+ messages in thread
From: Jameson Rollins @ 2010-02-05 16:44 UTC (permalink / raw)
  To: Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 1475 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

end of thread, other threads:[~2010-02-08 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05 16:44 strange behavior of indexing of and searching for strings containing '[]' Jameson Rollins
2010-02-05 18:08 ` Oliver Charles
2010-02-05 23:48 ` Olly Betts
2010-02-08 17:24   ` Jameson Rollins
2010-02-08 17:35     ` Jed Brown
2010-02-08 17:37       ` Jameson Rollins

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