mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 17:00:59 +01:00
01379958fa
Summary: Ref T10457. The ngram indexing seems to be working well; extend it into Drydock. Also clean up the list controller a little bit. Test Plan: - Ran migrations. - Searched for blueprints by name. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10457 Differential Revision: https://secure.phabricator.com/D15389
11 lines
225 B
PHP
11 lines
225 B
PHP
<?php
|
|
|
|
$table = new DrydockBlueprint();
|
|
|
|
foreach (new LiskMigrationIterator($table) as $blueprint) {
|
|
PhabricatorSearchWorker::queueDocumentForIndexing(
|
|
$blueprint->getPHID(),
|
|
array(
|
|
'force' => true,
|
|
));
|
|
}
|