(sorry to report a new issue, but I can't find the old one on the subject in the list, I guess you've closed id)
I've been playing with the git version which should have implemented msgid search again. Still, I'm unable to retrieve any succesfull msgid match. A detailed example of what I've tried follows.
I've an indexed message with the following message id:
Message-ID: <20100122111538.GA13632@usha.takhisis.invalid>
I know the message is indexed because I can find it by other means via "mu find" (e.g. by searching on its precise subject). Still, all the following return no match:
zack@usha:~$ mu find m:20100122111538.GA13632@usha.takhisis.invalid No matches found zack@usha:~$ mu find m:\<20100122111538.GA13632@usha.takhisis.invalid\> No matches found zack@usha:~$ mu find m:\ \<20100122111538.GA13632@usha.takhisis.invalid\>
this one return tons of unrelated messages and not the good one
The query fed to Xapian by mu is as follows:
zack@usha:~$ mu find -x m:20100122111538.GA13632@usha.takhisis.invalid Xapian::Query(0 * M20100122111538.GA13632@usha.takhisis.invalid)
(Obviously, I've reindexed everything with the fixed mu from Git.)
Looking at the code, I understand that the message-id field is supposed to be fed to Xapian as an exact value and not as a field to be stemmed (which is indeed correct). Then, I've followed a bit the debugging trail of having the "msgid" string rather then the actual field name, but that seems correct to, as it is never used (AFAICT) to lookup the actual field name.
So, I'm a bit lost at the cause of this bug, but nevertheless I can't find a single way of making Message-ID search work. Does it work for you?
Thanks in advance, Cheers.
Comment #1
Posted on Jan 23, 2010 by Massive MonkeyHi Stefano, it worked but then some later WIP changes (somewhat unrelated) in git broke it (you could display msgid's with --fields=, but not search for them).
However, the current head has the working behavior restored, hopefully it works now for you; sorry for the inconvenience.
Comment #2
Posted on Jan 23, 2010 by Happy LionJust rechecked, it works again now.
Thanks a lot!
Status: Fixed
Labels:
Type-Defect
Priority-Medium