diff --git a/src/Entity/Notice.php b/src/Entity/Notice.php index 78d43a6b50..87d76b2557 100644 --- a/src/Entity/Notice.php +++ b/src/Entity/Notice.php @@ -85,9 +85,10 @@ class Notice ], ]; - if (common_config('search', 'type') == 'fulltext') { - $def['fulltext indexes'] = ['content' => ['content']]; - } + // TODO + // if (common_config('search', 'type') == 'fulltext') { + // $def['fulltext indexes'] = ['content' => ['content']]; + // } return $def; } diff --git a/src/Entity/Profile.php b/src/Entity/Profile.php index f1a0485174..9ddf357e4c 100644 --- a/src/Entity/Profile.php +++ b/src/Entity/Profile.php @@ -64,11 +64,10 @@ class Profile ], ]; - // Add a fulltext index - - if (common_config('search', 'type') == 'fulltext') { - $def['fulltext indexes'] = ['nickname' => ['nickname', 'fullname', 'location', 'bio', 'homepage']]; - } + // TODO + // if (common_config('search', 'type') == 'fulltext') { + // $def['fulltext indexes'] = ['nickname' => ['nickname', 'fullname', 'location', 'bio', 'homepage']]; + // } return $def; }