mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-11 01:12:41 +01:00
0244ec3115
Summary: Ref T3165. Builds an ngram table for Conpherence Room titles, allowing a tokenizer for searching a subset of rooms. Test Plan: Say `Gabbert` in two different rooms, search all, see two rooms returned. Search specific room, see specific result. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T3165 Differential Revision: https://secure.phabricator.com/D16692
17 lines
284 B
PHP
17 lines
284 B
PHP
<?php
|
|
|
|
final class ConpherenceThreadTitleNgrams
|
|
extends PhabricatorSearchNgrams {
|
|
|
|
public function getNgramKey() {
|
|
return 'threadtitle';
|
|
}
|
|
|
|
public function getColumnName() {
|
|
return 'title';
|
|
}
|
|
|
|
public function getApplicationName() {
|
|
return 'conpherence';
|
|
}
|
|
}
|