1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

- overhauled search system

- updated structure for search backend plugins
  - better result caching using ACM
  - search results no longer session restricted => link to them by copying the URL :)
  - in-topic search
  - indexing posts now uses search backend plugins
  - develop/search_fill.php working again
  - fulltext_mysql not working yet
- tiny bugfixes to ACM


git-svn-id: file:///svn/phpbb/trunk@5441 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Nils Adermann
2006-01-11 18:56:07 +00:00
parent 9ea5fa1768
commit 0e0b1120fb
22 changed files with 1522 additions and 1036 deletions

View File

@@ -563,17 +563,16 @@ CREATE TABLE phpbb_reports (
PRIMARY KEY (report_id)
);
# Table: phpbb_search_results
CREATE TABLE phpbb_search_results (
search_id int(11) UNSIGNED DEFAULT '0' NOT NULL,
session_id varchar(32) DEFAULT '' NOT NULL,
# Table: 'phpbb_search_results'
CREATE TABLE new_search_results (
search_key varchar(32) DEFAULT '' NOT NULL,
search_time int(11) DEFAULT '0' NOT NULL,
search_array mediumtext NOT NULL,
PRIMARY KEY (search_id),
KEY session_id (session_id)
search_keywords mediumtext NOT NULL,
search_authors mediumtext NOT NULL,
PRIMARY KEY (search_key)
);
# Table: phpbb_search_wordlist
# Table: 'phpbb_search_wordlist'
CREATE TABLE phpbb_search_wordlist (
word_text varchar(50) BINARY DEFAULT '' NOT NULL,
word_id mediumint(8) UNSIGNED NOT NULL auto_increment,
@@ -582,7 +581,7 @@ CREATE TABLE phpbb_search_wordlist (
KEY word_id (word_id)
);
# Table: phpbb_search_wordmatch
# Table: 'phpbb_search_wordmatch'
CREATE TABLE phpbb_search_wordmatch (
post_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,
word_id mediumint(8) UNSIGNED DEFAULT '0' NOT NULL,