]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Remove fulltext indexes from notice and profile tables. The default
authorZach Copley <zach@status.net>
Sun, 18 Sep 2011 21:17:41 +0000 (14:17 -0700)
committerZach Copley <zach@status.net>
Sun, 18 Sep 2011 21:17:41 +0000 (14:17 -0700)
for fulltext search is 'like' (MySQLLikeSearch) which doesn't require
them.

classes/Notice.php
classes/Profile.php

index e34dab549f4d7989cc144090db7389c81c899ec8..a38f54f050cc46337194d74915bdc4f3e81a2e71 100644 (file)
@@ -127,9 +127,6 @@ class Notice extends Managed_DataObject
                 'notice_created_idx' => array('created'),
                 'notice_replyto_idx' => array('reply_to'),
                 'notice_repeatof_idx' => array('repeat_of'),
-            ),
-            'fulltext indexes' => array(
-                'content' => array('content'),
             )
         );
     }
index 5ace57004ce716c1ae64d43abade10651f367d93..8cea91ece6e28ef88b82aa529d2ad01e7c19bf69 100644 (file)
@@ -72,10 +72,7 @@ class Profile extends Managed_DataObject
             'primary key' => array('id'),
             'indexes' => array(
                 'profile_nickname_idx' => array('nickname'),
-            ),
-            'fulltext indexes' => array(
-                'nickname' => array('nickname', 'fullname', 'location', 'bio', 'homepage')
-            ),
+            )
         );
     }