From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Thu, 03 Sep 2009 11:36:42 -0700 Subject: [sup-talk] On making inbox-mode and search-results-mode more similar In-Reply-To: <1251341286-sup-9400@zyrg.net> References: <1251323747-sup-1595@yoom.home.cworth.org> <1251341286-sup-9400@zyrg.net> Message-ID: <1252002783-sup-3659@masanjin.net> Reformatted excerpts from Rich Lane's message of 2009-08-26: > We had a thread a while back about applying label changes immediately > and I think the consensus was that that's a good idea. Doing this > could simplify a great deal of thread-index-mode code because a fast > is_relevant? could be implemented using existing index operations > without the special cases for archiving/etc and without creating an > inmemory database. But it's not just a label issue. Determining whether a given message belongs in a general search buffer requires the full engine. And even if the query is just on labels, it can contain arbitrary boolean expressions, and I don't want to be the one having to parse that, and parse it in such a way that it matches what the search engine is doing. > I have a patch I plan to mail out soon that makes changing labels with > Xapian much quicker, so that should help. This is definitely good, either way. -- William