Indexes that exist in MongoDB but not the document metadata will be
deleted.
public updateIndexes ( integer $timeout = null ) | ||
$timeout | integer | Timeout (ms) for acknowledged index creation |
/** * @param SchemaManager $sm */ protected function processIndex(SchemaManager $sm) { $sm->updateIndexes($this->timeout); }
protected function processIndex(SchemaManager $sm) { $sm->updateIndexes(); }