mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 05:50:55 +01:00
Analyze fulltext search in DarkConsole
Test Plan: /search/.../?__analyze__=1 Reviewers: epriestley Reviewed By: epriestley CC: aran, Koolvin Differential Revision: https://secure.phabricator.com/D2289
This commit is contained in:
parent
c2e64110bb
commit
6cf61980d2
1 changed files with 4 additions and 0 deletions
|
@ -92,6 +92,10 @@ final class DarkConsoleServicesPlugin extends DarkConsolePlugin {
|
|||
$cur_badness = 3;
|
||||
$cur_reason = 'Ref';
|
||||
break;
|
||||
case 'fulltext':
|
||||
$cur_badness = 3;
|
||||
$cur_reason = 'Fulltext';
|
||||
break;
|
||||
case 'ALL':
|
||||
if (preg_match('/Using where/', $table['Extra'])) {
|
||||
if ($table['rows'] < 256 && !empty($table['possible_keys'])) {
|
||||
|
|
Loading…
Reference in a new issue