Thanks Timo, I just tried 1.1 beta 9 with fts_lucene plugin, imap seg. fault whenever a fatch command is issued. Here is the strace for your reference:
read(0, "a uid fetch 1:* (uid)\r\n", 4080) = 23 mkdir("/home/joewong/Maildir/lucene-indexes/locks", 0700) = -1 EEXIST (File exists) time(NULL) = 1196327378 open("/home/joewong/Maildir/lucene-indexes", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9 fstat64(9, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 fcntl64(9, F_SETFD, FD_CLOEXEC) = 0 getdents64(9, /* 3 entries */, 4096) = 80 getdents64(9, /* 0 entries */, 4096) = 0 close(9) = 0 open("/home/joewong/Maildir/lucene-indexes/locks", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 9 fstat64(9, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 fcntl64(9, F_SETFD, FD_CLOEXEC) = 0 getdents64(9, /* 2 entries */, 4096) = 48 getdents64(9, /* 0 entries */, 4096) = 0 close(9) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- Process 30713 detached - Joe On Mon, 26 Nov 2007, Timo Sirainen wrote: > On Wed, 2007-11-21 at 00:46 +0800, Joe Wong wrote: > > I have installed 1.1 beta 8 with fts-squat enabled. I have added the > > plugin section in dovecot.conf. How can I actually make use of the > > full text index? > > Just use SEARCH TEXT or SEARCH BODY command and Dovecot indexes the > mailbox and then uses the indexes later automatically. i.e. do nothing > special. :) > > --