if (!CtdlGetConfigInt("c_enable_fulltext")) {
return;
}
- syslog(LOG_DEBUG, "fulltext: indexing started");
-
// If we've switched wordbreaker modules, burn the index and start over.
begin_critical_section(S_CONTROL);
if (CtdlGetConfigInt("MM_fulltext_wordbreaker") != FT_WORDBREAKER_ID) {
highest_msg_already_indexed = CtdlGetConfigLong("MMfulltext");
highest_msg_to_be_indexed = CtdlGetConfigLong("MMhighest");
+ syslog(LOG_DEBUG, "fulltext: indexing started. msgs %ld--%ld", highest_msg_already_indexed, highest_msg_to_be_indexed);
+
messages_to_be_indexed = array_new(sizeof(long));
// Now go through each room and find messages to index.