Queries need to be built for each mailbox
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 10 Nov 2010 20:21:12 +0000 (13:21 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Nov 2010 16:11:53 +0000 (09:11 -0700)
commit43f1fffd5c839e3a18e90b40cfcf17fa2f5c7802
tree2cdefab174b6aaaab9ca24508b552601cebad90c
parent1c6cd92106e90786562e0ae72c49c1b0fe7dccc3
Queries need to be built for each mailbox

Right now, it is impossible to do an advanced search query - in other
words, a query that involves more than an IMAP query statement.
Creating queries by mailbox allows advanced queries to be performed.
For example, a query element can independently run a query, get the list
of indices that match, and then put this result into the master IMAP
server query with a UID sequence search.
14 files changed:
imp/lib/Search.php
imp/lib/Search/Element.php
imp/lib/Search/Element/Bulk.php
imp/lib/Search/Element/Date.php
imp/lib/Search/Element/Flag.php
imp/lib/Search/Element/Header.php
imp/lib/Search/Element/Mailinglist.php
imp/lib/Search/Element/Or.php
imp/lib/Search/Element/Personal.php
imp/lib/Search/Element/Recipient.php
imp/lib/Search/Element/Size.php
imp/lib/Search/Element/Text.php
imp/lib/Search/Element/Within.php
imp/lib/Search/Query.php