mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Add fulltext index for collections collection name column to fix listCollections search
This commit is contained in:
parent
11b0967d3b
commit
1a6a1498bc
1 changed files with 7 additions and 0 deletions
|
|
@ -102,6 +102,13 @@ $collections = [
|
|||
'lengths' => [1024],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
],
|
||||
[
|
||||
'$id' => '_fulltext_name',
|
||||
'type' => Database::INDEX_FULLTEXT,
|
||||
'attributes' => ['name'],
|
||||
'lengths' => [256],
|
||||
'orders' => [Database::ORDER_ASC],
|
||||
],
|
||||
],
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue