MDL-53226 search_simpledb: Refine the patch
- Clumsy fallback only when there is no full-text search support - Mimic solr tests - pgsql tokenization using simple configuration - workaround for mysql '*' search issue - total results proper calculation - SQL server FTS support - Standarize dml full-text search checkings - Upgrade note about the new dml method - Set search_simpledb as default engine if no solr config
This commit is contained in:
@@ -2687,4 +2687,14 @@ abstract class moodle_database {
|
||||
public function perf_get_queries_time() {
|
||||
return $this->queriestime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether the database is able to support full-text search or not.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function is_fulltext_search_supported() {
|
||||
// No support unless specified.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user