From 005a3f477549fdd5998f3700ec8f03f6502c0909 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 13 Feb 2026 17:52:50 +1300 Subject: [PATCH] Revert removals --- app/config/collections/common.php | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/app/config/collections/common.php b/app/config/collections/common.php index 1845ef8a42..2328cd5b88 100644 --- a/app/config/collections/common.php +++ b/app/config/collections/common.php @@ -1617,6 +1617,13 @@ return [ ], ], 'indexes' => [ + [ + '$id' => ID::custom('_fulltext_name'), + 'type' => Database::INDEX_FULLTEXT, + 'attributes' => ['name'], + 'lengths' => [], + 'orders' => [], + ], [ '$id' => ID::custom('_key_search'), 'type' => Database::INDEX_FULLTEXT, @@ -1846,6 +1853,13 @@ return [ 'lengths' => [], 'orders' => [Database::ORDER_ASC], ], + [ + '$id' => ID::custom('_key_name'), + 'type' => Database::INDEX_FULLTEXT, + 'attributes' => ['name'], + 'lengths' => [], + 'orders' => [Database::ORDER_ASC], + ], [ '$id' => ID::custom('_key_type'), 'type' => Database::INDEX_KEY, @@ -2113,8 +2127,14 @@ return [ 'filters' => ['topicSearch'], ], ], - 'indexes' => [ + [ + '$id' => ID::custom('_key_name'), + 'type' => Database::INDEX_FULLTEXT, + 'attributes' => ['name'], + 'lengths' => [], + 'orders' => [], + ], [ '$id' => ID::custom('_key_search'), 'type' => Database::INDEX_FULLTEXT,