mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +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_badness = 3;
|
||||||
$cur_reason = 'Ref';
|
$cur_reason = 'Ref';
|
||||||
break;
|
break;
|
||||||
|
case 'fulltext':
|
||||||
|
$cur_badness = 3;
|
||||||
|
$cur_reason = 'Fulltext';
|
||||||
|
break;
|
||||||
case 'ALL':
|
case 'ALL':
|
||||||
if (preg_match('/Using where/', $table['Extra'])) {
|
if (preg_match('/Using where/', $table['Extra'])) {
|
||||||
if ($table['rows'] < 256 && !empty($table['possible_keys'])) {
|
if ($table['rows'] < 256 && !empty($table['possible_keys'])) {
|
||||||
|
|
Loading…
Reference in a new issue