[dovecot-cvs] dovecot/src/plugins/fts-lucene fts-backend-lucene.c, 1.7, 1.8

tss at dovecot.org tss at dovecot.org
Wed Dec 20 21:26:39 UTC 2006


Update of /var/lib/cvs/dovecot/src/plugins/fts-lucene
In directory talvi:/tmp/cvs-serv1604/plugins/fts-lucene

Modified Files:
	fts-backend-lucene.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-lucene.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-lucene/fts-backend-lucene.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- fts-backend-lucene.c	20 Dec 2006 14:46:28 -0000	1.7
+++ fts-backend-lucene.c	20 Dec 2006 21:26:37 -0000	1.8
@@ -178,8 +178,8 @@
 }
 
 struct fts_backend fts_backend_lucene = {
-	"lucene",
-	TRUE,
+	MEMBER(name) "lucene",
+	MEMBER(flags) FTS_BACKEND_FLAG_DEFINITE_LOOKUPS,
 
 	{
 		fts_backend_lucene_init,



More information about the dovecot-cvs mailing list