Add fulltext index for collections collection name
column to fix listCollections
search
This commit is contained in:
parent
11b0967d3b
commit
1a6a1498bc
|
@ -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