MDL-53325 search: Optimize Solr less often
This commit is contained in:
@@ -229,6 +229,19 @@ abstract class engine {
|
||||
return $classname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run any post indexing operations.
|
||||
*
|
||||
* Should be overwritten if the search engine needs to do any post index cleanup.
|
||||
*
|
||||
* @param int $numdocs The number of documents that were added to the index
|
||||
* @param bool $fullindex True if a full index was performed
|
||||
* @return void
|
||||
*/
|
||||
public function index_complete($numdocs = 0, $fullindex = false) {
|
||||
// Nothing by default.
|
||||
}
|
||||
|
||||
/**
|
||||
* Optimizes the search engine.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user