mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
959bb16d0f
Summary: Ref T10246. Build an ngram index for Almanac services, and use it to support improved search. Test Plan: {F1121725} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10246 Differential Revision: https://secure.phabricator.com/D15321
18 lines
276 B
PHP
18 lines
276 B
PHP
<?php
|
|
|
|
final class AlmanacServiceNameNgrams
|
|
extends PhabricatorSearchNgrams {
|
|
|
|
public function getNgramKey() {
|
|
return 'servicename';
|
|
}
|
|
|
|
public function getColumnName() {
|
|
return 'name';
|
|
}
|
|
|
|
public function getApplicationName() {
|
|
return 'almanac';
|
|
}
|
|
|
|
}
|