Differential D18548 Diff 44552 src/applications/differential/search/DifferentialRevisionFerretEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/search/DifferentialRevisionFerretEngine.php
Show All 9 Lines | final class DifferentialRevisionFerretEngine | ||||
public function newDocumentObject() { | public function newDocumentObject() { | ||||
return new DifferentialRevisionFerretDocument(); | return new DifferentialRevisionFerretDocument(); | ||||
} | } | ||||
public function newFieldObject() { | public function newFieldObject() { | ||||
return new DifferentialRevisionFerretField(); | return new DifferentialRevisionFerretField(); | ||||
} | } | ||||
protected function newSearchEngine() { | |||||
return new DifferentialRevisionSearchEngine(); | |||||
} | |||||
protected function getFunctionMap() { | protected function getFunctionMap() { | ||||
$map = parent::getFunctionMap(); | $map = parent::getFunctionMap(); | ||||
$map['body']['aliases'][] = 'summary'; | $map['body']['aliases'][] = 'summary'; | ||||
return $map; | return $map; | ||||
} | } | ||||
} | } |