MDL-53325 search: Optimize Solr less often

This commit is contained in:
Eric Merrill
2016-03-06 13:46:54 -05:00
parent 7adc7ef14f
commit bf2235bb11
8 changed files with 96 additions and 12 deletions
+13
View File
@@ -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.
*