Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/search/ManiphestTaskFerretEngine.php
Show All 9 Lines | final class ManiphestTaskFerretEngine | ||||
public function newDocumentObject() { | public function newDocumentObject() { | ||||
return new ManiphestTaskFerretDocument(); | return new ManiphestTaskFerretDocument(); | ||||
} | } | ||||
public function newFieldObject() { | public function newFieldObject() { | ||||
return new ManiphestTaskFerretField(); | return new ManiphestTaskFerretField(); | ||||
} | } | ||||
protected function getFunctionMap() { | |||||
$map = parent::getFunctionMap(); | |||||
$map['body']['aliases'][] = 'desc'; | |||||
$map['body']['aliases'][] = 'description'; | |||||
return $map; | |||||
} | |||||
} | } |