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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 395 - No search support in PostgreSQL
No search support in PostgreSQL
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
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: ---


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"

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.