mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +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
11 lines
220 B
PHP
11 lines
220 B
PHP
<?php
|
|
|
|
$table = new ConpherenceThread();
|
|
|
|
foreach (new LiskMigrationIterator($table) as $thread) {
|
|
PhabricatorSearchWorker::queueDocumentForIndexing(
|
|
$thread->getPHID(),
|
|
array(
|
|
'force' => true,
|
|
));
|
|
}
|