mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-21 23:33:54 -04:00
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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user