mirror of
https://we.phorge.it/source/phorge.git
synced 2025-04-06 09:28:25 +02:00
Use sort
, not text
, for search index table
Summary: Ref T1191. The index's case sensitivity depends on the column type. Using `text` makes the search case-sensitive, which is not desirable. Test Plan: After adjustment, searched for "PROJECTS" and found hits against "projects". Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T1191 Differential Revision: https://secure.phabricator.com/D10619
This commit is contained in:
parent
5f82805068
commit
e4e5a2004f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ final class PhabricatorSearchDocumentField extends PhabricatorSearchDAO {
|
||||||
'phidType' => 'text4',
|
'phidType' => 'text4',
|
||||||
'field' => 'text4',
|
'field' => 'text4',
|
||||||
'auxPHID' => 'phid?',
|
'auxPHID' => 'phid?',
|
||||||
'corpus' => 'text?',
|
'corpus' => 'sort?',
|
||||||
),
|
),
|
||||||
self::CONFIG_KEY_SCHEMA => array(
|
self::CONFIG_KEY_SCHEMA => array(
|
||||||
'key_phid' => null,
|
'key_phid' => null,
|
||||||
|
|
Loading…
Add table
Reference in a new issue