RE: What is a VFolder? (Re: [Evolution] help - Ive just deleted all mymail for some strange reason?)

Thats not quite right either, remember vfolders work with imap too.

We keep a 'summary' file, which contains a subset of the headers - the
headers that can be used in vfolders, such as subject, to/from/date etc,
in a compressed format.  This is loaded into memory when the folder is

Most vfolder queries then just run directly in memory from this summary.
Body searches can also use an index for local queries, which works
similarly to the glimpse search engine (but is entirely different code),
otherwise they goto the imap server, or load each message separately.


On 22 Apr 2001 22:47:04 -0400, Christopher James Lahey wrote:
On 22 Apr 2001 14:51:11 +0200, Nerijus Baliunas wrote:
VFolders are search queries. They're not folders, and nothing gets moved
into them, because they're, by definition, 'virtual'.

How do you achieve it with acceptable performance? Do you use some db?

Sort of.  We keep a standard mbox file with a summary file and an index file.  Even though the actual 
messages are stored in a standard unix file format, there are database-like files sitting along side the 
mbox file.


evolution maillist  -  evolution helixcode com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]