[dovecot-cvs] dovecot/src/plugins/fts-squat fts-backend-squat.c, 1.5, 1.6

tss at dovecot.org tss at dovecot.org
Fri Mar 16 00:20:58 EET 2007


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

Modified Files:
	fts-backend-squat.c 
Log Message:
Separate headers and body in building and searching. Added support for
Lucene to index/search them separately.



Index: fts-backend-squat.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/plugins/fts-squat/fts-backend-squat.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fts-backend-squat.c	20 Dec 2006 21:26:38 -0000	1.5
+++ fts-backend-squat.c	15 Mar 2007 22:20:55 -0000	1.6
@@ -85,7 +85,7 @@
 static int
 fts_backend_squat_build_more(struct fts_backend_build_context *_ctx,
 			     uint32_t uid, const unsigned char *data,
-			     size_t size)
+			     size_t size, bool headers __attr_unused__)
 {
 	struct squat_fts_backend_build_context *ctx =
 		(struct squat_fts_backend_build_context *)_ctx;
@@ -179,8 +179,9 @@
 }
 
 static int
-fts_backend_squat_lookup(struct fts_backend *_backend, const char *key,
-			 ARRAY_TYPE(seq_range) *result)
+fts_backend_squat_lookup(struct fts_backend *_backend,
+			 enum fts_lookup_flags flags __attr_unused__,
+			 const char *key, ARRAY_TYPE(seq_range) *result)
 {
 	struct squat_fts_backend *backend =
 		(struct squat_fts_backend *)_backend;
@@ -189,8 +190,9 @@
 }
 
 static int
-fts_backend_squat_filter(struct fts_backend *_backend, const char *key,
-			 ARRAY_TYPE(seq_range) *result)
+fts_backend_squat_filter(struct fts_backend *_backend,
+			 enum fts_lookup_flags flags __attr_unused__,
+			 const char *key, ARRAY_TYPE(seq_range) *result)
 {
 	struct squat_fts_backend *backend =
 		(struct squat_fts_backend *)_backend;



More information about the dovecot-cvs mailing list