1
0
Fork 0
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:
vrana 2012-04-20 10:53:55 -07:00
parent c2e64110bb
commit 6cf61980d2

View file

@ -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'])) {