Depending on what you value you provide for the number of documents to index ('relevanssi_index_limit"), it's possible that the response "Indexing complete!" means "i indexed the number of documents you specified" instead of the more intuitive "all documents are now indexed".
--- _relevanssi.php 2011-11-07 23:22:12.000000000 -0800
+++ relevanssi.php 2012-02-06 02:29:45.000000000 -0800
@@ -2058,6 +2058,7 @@
}
$n = 0;
+ $size = 0;
if (!$extend) {
// truncate table first
@@ -2081,6 +2082,7 @@
// extending, so no truncate and skip the posts already in the index
$limit = get_option('relevanssi_index_limit', 200);
if ($limit > 0) {
+ $size = $limit;
$limit = " LIMIT $limit";
}
// BEGIN modified by renaissancehack
@@ -2108,7 +2110,9 @@
// n calculates the number of insert queries
}
- echo '<div id="message" class="updated fade"><p>' . __("Indexing complete!", "relevanssi") . '</p></div>';
+ echo '<div id="message" class="updated fade"><p>'
+ . __((($size == 0) || (count($content) < $size)) ? "Indexing complete!" : "More to index...", "relevanssi")
+ . '</p></div>';
update_option('relevanssi_indexed', 'done');
}
enjoy!
/mtr
ps: this is an *excellent* plugin.