David Bremner <david@tethera.net> writes: > > I'm not sure about the exact syntax, but some separate prefix to mean > only in the To header would be possible. As far as I know we'd need to > add more terms to the database [1], so you'd need to convince people > that the increase in the size of everyone's database was worthwhile. And > of course someone needs to write the code, but it would not be that > hard, I think. Austin pointed out on IRC that if we had fields indexed seperately then the current query parser then we could actually use the current Xapian query parser to generate an OR of several database fields from a single query prefix. So if someone wanted to take this on, that would probably be the way to go. d