# HG changeset patch # User Timo Sirainen # Date 1225887802 -7200 # Node ID 7b21f9546aa7b3e4ef70dd6ce225dd42a0e6bf8f # Parent 63f7e1ad7646edd759abe556a3d246d924cbc45d fts: Don't force SEARCH_HEADER_COMPRESS_LWSP to update indexes either. diff -r 63f7e1ad7646 -r 7b21f9546aa7 src/plugins/fts/fts-storage.c --- a/src/plugins/fts/fts-storage.c Wed Nov 05 13:51:00 2008 +0200 +++ b/src/plugins/fts/fts-storage.c Wed Nov 05 14:23:22 2008 +0200 @@ -187,7 +187,8 @@ /* no new messages */ return 0; } - if (fctx->best_arg->type == SEARCH_HEADER) { + if (fctx->best_arg->type == SEARCH_HEADER || + fctx->best_arg->type == SEARCH_HEADER_COMPRESS_LWSP) { /* we're not updating the index just for header lookups */ return 0; }