mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +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
11 lines
219 B
PHP
11 lines
219 B
PHP
<?php
|
|
|
|
$table = new AlmanacService();
|
|
|
|
foreach (new LiskMigrationIterator($table) as $service) {
|
|
PhabricatorSearchWorker::queueDocumentForIndexing(
|
|
$service->getPHID(),
|
|
array(
|
|
'force' => true,
|
|
));
|
|
}
|