Steve Kowalik has proposed merging lp:~stevenk/launchpad/index-searchables-for-pu into lp:launchpad.
Requested reviews: Launchpad code reviewers (launchpad-reviewers) Related bugs: Bug #33700 in Launchpad itself: "could queue filters match source as well as binaries?" https://bugs.launchpad.net/launchpad/+bug/33700 Bug #1081827 in Launchpad itself: "DistroSeries:+queue search times out due to overenthusiastic joins" https://bugs.launchpad.net/launchpad/+bug/1081827 For more details, see: https://code.launchpad.net/~stevenk/launchpad/index-searchables-for-pu/+merge/140120 Add indicies to the new PackageUpload columns -- searchable_names and searchable_versions. -- https://code.launchpad.net/~stevenk/launchpad/index-searchables-for-pu/+merge/140120 Your team Launchpad code reviewers is requested to review the proposed merge of lp:~stevenk/launchpad/index-searchables-for-pu into lp:launchpad.
=== added file 'database/schema/patch-2209-40-2.sql' --- database/schema/patch-2209-40-2.sql 1970-01-01 00:00:00 +0000 +++ database/schema/patch-2209-40-2.sql 2012-12-17 00:51:22 +0000 @@ -0,0 +1,11 @@ +-- Copyright 2012 Canonical Ltd. This software is licensed under the +-- GNU Affero General Public License version 3 (see the file LICENSE). + +SET client_min_messages=ERROR; + +CREATE INDEX packageupload__searchable_names__idx ON packageupload + USING gin ((searchable_names::tsvector)); +CREATE INDEX packageupload__searchable_versions__idx ON packageupload + USING gin (searchable_versions); + +INSERT INTO LaunchpadDatabaseRevision VALUES (2209, 40, 2);
_______________________________________________ Mailing list: https://launchpad.net/~launchpad-reviewers Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-reviewers More help : https://help.launchpad.net/ListHelp

