3 Dec
2007
3 Dec
'07
7:37 p.m.
On Mon, 2007-12-03 at 19:33 +0200, Timo Sirainen wrote:
And most importantly: It includes the new Squat full text search indexing code. There are a few things left in my TODO for it:
- It's currently used only to optimize root level AND searches. So for example SEARCH (OR TEXT hello TEXT world) is still searched the slow way.
- Expunged messages are never removed from the indexes.
- The index could be updated while messages are being saved, but this isn't done yet.
- Indexed substring length is hardcoded to 4 characters. This should be configurable, although I think 4 should work quite nicely.
Oh, two more things: mmap_disable=yes doesn't work with it - it always mmaps the files. Also it doesn't try to flush NFS caches. These should be pretty easy to fix though.