1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 02:06:32 +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

@@ -775,16 +775,13 @@ SELECT SETVAL('phpbb_reports_report_id_seq',(select case when max(report_id)>0 t
/* Table: phpbb_search_results */
CREATE TABLE phpbb_search_results (
search_id INT4 DEFAULT '0' NOT NULL,
session_id varchar(32) DEFAULT '' NOT NULL,
search_key varchar(32) DEFAULT '' NOT NULL,
search_time INT4 DEFAULT '0' NOT NULL,
search_array TEXT DEFAULT '' NOT NULL,
PRIMARY KEY (search_id),
CHECK (search_id>=0)
search_keywords TEXT DEFAULT '' NOT NULL,
search_authors TEXT DEFAULT '' NOT NULL,
PRIMARY KEY (search_key)
);
CREATE INDEX session_id_phpbb_search_results_index ON phpbb_search_results (session_id);
/* Table: phpbb_search_wordlist */
CREATE SEQUENCE phpbb_search_wordlist_word_i;