1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 03:50:54 +01:00
phorge-phorge/src/applications/repository/search/DiffusionCommitFerretEngine.php
epriestley b1b638bd14 Support the Ferret engine in Diffusion
Summary: Ref T12819. More ferret engine support.

Test Plan: Indexed and searched commits and repositories.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12819

Differential Revision: https://secure.phabricator.com/D18572
2017-09-07 13:41:04 -07:00

18 lines
309 B
PHP

<?php
final class DiffusionCommitFerretEngine
extends PhabricatorFerretEngine {
public function getApplicationName() {
return 'repository';
}
public function getScopeName() {
return 'commit';
}
public function newSearchEngine() {
return new PhabricatorCommitSearchEngine();
}
}