-
Type:
New Feature
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Laravel
-
None
This method is used by the introspection command php artisan db:table
The method Schema\Builder::getIndexes will return the following for a search index:
[ 'name' => 'default' // or custom index name 'columns' => null, // That would be complex and subject to errors to dive into the index definition to find on which fields it is defined 'primary' => false, 'type' => 'search' | 'vectorSearch' 'unique' => false, ]
The definition of the index is not used in this summary.
On MongoDB community Edition, this operation is not supported. The server error will be ignored because we know there is no search index on cluster that doesn’t support them.