Differential D18544 Diff 44548 src/applications/search/fulltextstorage/PhabricatorFulltextStorageEngine.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/fulltextstorage/PhabricatorFulltextStorageEngine.php
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | /* -( Managing Documents )------------------------------------------------- */ | ||||
* | * | ||||
* @param PhabricatorSearchAbstractDocument Document to update. | * @param PhabricatorSearchAbstractDocument Document to update. | ||||
* @return void | * @return void | ||||
*/ | */ | ||||
abstract public function reindexAbstractDocument( | abstract public function reindexAbstractDocument( | ||||
PhabricatorSearchAbstractDocument $document); | PhabricatorSearchAbstractDocument $document); | ||||
/** | /** | ||||
* Reconstruct the document for a given PHID. This is used for debugging | |||||
* and does not need to be perfect if it is unreasonable to implement it. | |||||
* | |||||
* @param phid Document PHID to reconstruct. | |||||
* @return PhabricatorSearchAbstractDocument Abstract document. | |||||
*/ | |||||
abstract public function reconstructDocument($phid); | |||||
/** | |||||
* Execute a search query. | * Execute a search query. | ||||
* | * | ||||
* @param PhabricatorSavedQuery A query to execute. | * @param PhabricatorSavedQuery A query to execute. | ||||
* @return list A list of matching PHIDs. | * @return list A list of matching PHIDs. | ||||
*/ | */ | ||||
abstract public function executeSearch(PhabricatorSavedQuery $query); | abstract public function executeSearch(PhabricatorSavedQuery $query); | ||||
/** | /** | ||||
Show All 35 Lines |