[dovecot-cvs] dovecot/src/plugins/fts-squat fts-backend-squat.c, 1.4, 1.5
tss at dovecot.org
tss at dovecot.org
Wed Dec 20 21:26:40 UTC 2006
Update of /var/lib/cvs/dovecot/src/plugins/fts-squat
In directory talvi:/tmp/cvs-serv1604/plugins/fts-squat
Modified Files:
fts-backend-squat.c
Log Message:
Added support for X-BODY-FAST and X-TEXT-FAST SEARCH arguments. FTS plugin
now allows loading two backends: exact and fast. Fast backend (Lucene) can
be used to optimize only those searches, while exact backend (Squat) can be
used to optimize normal BODY and TEXT searches as well.
Index: fts-backend-squat.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-squat/fts-backend-squat.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- fts-backend-squat.c 9 Dec 2006 21:08:56 -0000 1.4
+++ fts-backend-squat.c 20 Dec 2006 21:26:38 -0000 1.5
@@ -200,7 +200,7 @@
struct fts_backend fts_backend_squat = {
MEMBER(name) "squat",
- MEMBER(definite_lookups) FALSE,
+ MEMBER(flags) FTS_BACKEND_FLAG_EXACT_LOOKUPS,
{
fts_backend_squat_init,
More information about the dovecot-cvs
mailing list