FinderIndexer::optimize
Method to optimize the index. We use this method to remove unused terms and any other optimizations that might be necessary.
Signature
public function optimize()
Returns
- boolean
- True on success.
Errors/Exceptions
-
Exception
- on database error.