Re-add search_results hook and changed column type of search_index.word to varchar(64) in installer schema
--- a/plugins/SpecialSearch.php Wed Nov 21 15:13:06 2007 -0500
+++ b/plugins/SpecialSearch.php Wed Nov 21 15:18:15 2007 -0500
@@ -236,6 +236,11 @@
<li>Did your search trigger any warnings? Sometimes a search can be cancelled if there aren\'t any terms in a search query that are 4 characters or greater in length.</li>
</ul>';
}
+ $code = $plugins->setHook('search_results');
+ foreach ( $code as $cmd )
+ {
+ eval($cmd);
+ }
}
else
{
--- a/schema.sql Wed Nov 21 15:13:06 2007 -0500
+++ b/schema.sql Wed Nov 21 15:18:15 2007 -0500
@@ -184,7 +184,7 @@
) CHARACTER SET `utf8` COLLATE `utf8_bin`;
CREATE TABLE {{TABLE_PREFIX}}search_index(
- word varbinary(64) NOT NULL,
+ word varchar(64) NOT NULL,
page_names text,
PRIMARY KEY ( word )
) CHARACTER SET `utf8` COLLATE `utf8_bin`;