From b52f751b306b1036718112df6307fedd283eeea6 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 4 Sep 2014 19:55:42 +0200 Subject: [PATCH] Search overhaul (WIP) --- com.woltlab.wcf/option.xml | 12 + .../acp/action/InstallPackageAction.class.php | 2 +- .../files/lib/form/SearchForm.class.php | 9 +- ...mentMessageEmbeddedObjectHandler.class.php | 11 +- .../search/AbstractSearchEngine.class.php | 16 ++ .../AbstractSearchIndexManager.class.php | 49 ++++ .../lib/system/search/ISearchEngine.class.php | 29 +++ .../search/ISearchIndexManager.class.php | 66 +++++ .../lib/system/search/SearchEngine.class.php | 241 ++--------------- .../search/SearchIndexManager.class.php | 176 +++---------- .../search/mysql/MysqlSearchEngine.class.php | 244 ++++++++++++++++++ .../mysql/MysqlSearchIndexManager.class.php | 124 +++++++++ wcfsetup/install/files/options.inc.php | 1 + 13 files changed, 621 insertions(+), 359 deletions(-) create mode 100644 wcfsetup/install/files/lib/system/search/AbstractSearchEngine.class.php create mode 100644 wcfsetup/install/files/lib/system/search/AbstractSearchIndexManager.class.php create mode 100644 wcfsetup/install/files/lib/system/search/ISearchEngine.class.php create mode 100644 wcfsetup/install/files/lib/system/search/ISearchIndexManager.class.php create mode 100644 wcfsetup/install/files/lib/system/search/mysql/MysqlSearchEngine.class.php create mode 100644 wcfsetup/install/files/lib/system/search/mysql/MysqlSearchIndexManager.class.php diff --git a/com.woltlab.wcf/option.xml b/com.woltlab.wcf/option.xml index 3de93ba5a8..46233f57ef 100644 --- a/com.woltlab.wcf/option.xml +++ b/com.woltlab.wcf/option.xml @@ -54,6 +54,9 @@ general.system + + general.system + general.system @@ -455,6 +458,15 @@ imagick:wcf.acp.option.image_adapter_type.imagick]]> + + + +