mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 19:32:40 +01:00
3ff9d4a4ca
Summary: Ref T12819. Adds support for indexing user accounts so they appear in global fulltext results. Also, always rank users ahead of other results. Test Plan: Indexed users. Searched for a user, got that user. Reviewers: chad Reviewed By: chad Maniphest Tasks: T12819 Differential Revision: https://secure.phabricator.com/D18552
8 lines
407 B
SQL
8 lines
407 B
SQL
CREATE TABLE {$NAMESPACE}_user.user_user_ffield (
|
|
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
|
|
documentID INT UNSIGNED NOT NULL,
|
|
fieldKey VARCHAR(4) NOT NULL COLLATE {$COLLATE_TEXT},
|
|
rawCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT},
|
|
termCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT},
|
|
normalCorpus LONGTEXT NOT NULL COLLATE {$COLLATE_SORT}
|
|
) ENGINE=InnoDB, COLLATE {$COLLATE_TEXT};
|