Last modified: 2010-05-15 15:33:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2395, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 395 - No search support in PostgreSQL
No search support in PostgreSQL
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
1.4.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2004-09-06 09:29 UTC by Brion Vibber
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2004-09-06 09:29:46 UTC
Currently no search is available in PostgreSQL. If it's not disabled, you get lovely errors from running the MySQL queries. :)
Comment 1 Domas Mituzas 2004-12-02 20:02:51 UTC
load tsearch (from pg-contrib) into 'tsearch' schema, and create table:

CREATE TABLE "mediawiki"."searchindex" (
  "si_page" INTEGER NOT NULL, 
  "si_title" "tsearch"."tsvector", 
  "si_text" "tsearch"."tsvector"
) WITH OIDS;

CREATE INDEX "si_text_idx" ON "mediawiki"."searchindex"
USING gist ("si_text");

CREATE INDEX "si_title_idx" ON "public"."searchindex"
USING gist ("si_title");

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links