History log of /dovecot/src/lib-storage/mail-search-build.h
Revision Date Author Comments Expand
ce763c83d556eea9b74fc63e5d41f3b71a7e72de 14-Jan-2015 Timo Sirainen <tss@iki.fi>

lib-storage: Added "oldestonly" search arg to stop searching after the first non-match. This parameter works only for doveadm search queries. It's not fully exact currently, because if mailbox.search_next_update_seq() skips over non-matching messages we don't stop if the next message matches. So this parameter is mainly useful for optimization of commands like: doveadm expunge -u user@domain mailbox inbox savedsince 30d oldestonly Where the timestamps should be ascending all the time anyway and there's no point in continuing to search for more mails after the first timestamp is too high.

13d58f3be3356c68ad4f53781f69bc6fe5623700 26-Jul-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Search query building no longer converts strings to decomposed titlecase.

0a1ec0f2a38370e8a073a60023b4365491947f6f 31-Mar-2011 Timo Sirainen <tss@iki.fi>

lib-storage: Fail mail_search_build() if charset is unknown, even if it's not used. For example this causes "SEARCH CHARSET foo ALL" command to fail.

d798962a54c5cda054d57a0cfc7e5f47dfa20f6e 31-Mar-2011 Timo Sirainen <tss@iki.fi>

Changed header/body searching to do search key charset translation earlier. This cleans up and simplifies error handling.

55058d5f50f7e53bb22df4fa6ae951c8001416ab 28-Apr-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added mail_search_build_add() --HG-- branch : HEAD

5c2d695acf9f95ae0dcdda89c4d2391ceda4d672 20-Apr-2010 Timo Sirainen <tss@iki.fi>

Added support for mail search input parsers. doveadm now uses command line parser. --HG-- branch : HEAD

4fc52b7b25c3d3f42348903e0154840f8761f306 13-Apr-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Added search query building from human-friendly input. --HG-- branch : HEAD

20b2d47ed762ca2c009aa37e360af6f223ac71bd 13-Apr-2010 Timo Sirainen <tss@iki.fi>

lib-storage: Rewrote search query building code to be more modular. --HG-- branch : HEAD

7327394e30c1020b9a2a49c72a7e3d0f7803e680 20-Feb-2009 Timo Sirainen <tss@iki.fi>

mail-storage API: Added some function description comments. --HG-- branch : HEAD

c4b376dd6e0c423006d7ac83a39253bcaf8e7c47 03-Jun-2008 Timo Sirainen <tss@iki.fi>

Make mail_search_args an independent structure that can be used for multiple separate searches. --HG-- branch : HEAD

/dovecot/src/imap/cmd-copy.c /dovecot/src/imap/cmd-expunge.c /dovecot/src/imap/cmd-fetch.c /dovecot/src/imap/cmd-search.c /dovecot/src/imap/cmd-select.c /dovecot/src/imap/cmd-sort.c /dovecot/src/imap/cmd-store.c /dovecot/src/imap/cmd-thread.c /dovecot/src/imap/imap-expunge.c /dovecot/src/imap/imap-expunge.h /dovecot/src/imap/imap-fetch.c /dovecot/src/imap/imap-fetch.h /dovecot/src/imap/imap-search.c /dovecot/src/imap/imap-search.h /dovecot/src/imap/imap-sort.c /dovecot/src/imap/imap-sort.h /dovecot/src/imap/imap-thread.c /dovecot/src/imap/imap-thread.h index/index-search.c index/index-storage.h mail-search-build.c mail-search-build.h mail-search.c mail-search.h mail-storage-private.h mail-storage.c mail-storage.h /dovecot/src/plugins/convert/convert-storage.c /dovecot/src/plugins/expire/expire-tool.c /dovecot/src/plugins/fts-squat/fts-backend-squat.c /dovecot/src/plugins/fts/fts-search.c /dovecot/src/plugins/fts/fts-storage.c /dovecot/src/plugins/fts/fts-storage.h /dovecot/src/plugins/mbox-snarf/mbox-snarf-plugin.c /dovecot/src/plugins/quota/quota-count.c /dovecot/src/plugins/quota/quota-storage.c /dovecot/src/plugins/trash/trash-plugin.c /dovecot/src/pop3/client.c /dovecot/src/pop3/commands.c
97cfe59cd16ce624e58e8d9b6003d1e29d75b3d2 16-Mar-2008 Timo Sirainen <tss@iki.fi>

Implemented SEARCHRES extension. --HG-- branch : HEAD

0934e86643bd122e260e4742b73612d29c1e7487 14-Mar-2008 Timo Sirainen <tss@iki.fi>

Moved IMAP messageset handling to lib-imap/ and searching to lib-storage/. Rewrote messageset handling to use struct seq_range instead. --HG-- branch : HEAD

1176124297af5c56e932c0863c6637ff21d8a0ef 14-Mar-2008 Timo Sirainen <tss@iki.fi>

Moved IMAP messageset handling to lib-imap/ and searching to lib-storage/. Rewrote messageset handling to use struct seq_range instead. --HG-- branch : HEAD