Implement relevance ranked boolean searching on a full text index of

item and comment data.  Whew!

It's not pretty yet.  And you have to manually update the index
currently in admin/maintenance.  But it works.
This commit is contained in:
Bharat Mediratta
2009-01-17 00:52:50 +00:00
parent 91be7a38f8
commit d568a1e9fd
11 changed files with 369 additions and 2 deletions
@@ -58,6 +58,9 @@ class comment_installer {
static function uninstall() {
$db = Database::instance();
$sql = "SELECT `item_id` FROM `comments`";
module::event("item_related_update_batch", $sql);
$db->query("DROP TABLE IF EXISTS `comments`;");
module::delete("comment");
}