public function getHosts()Inherited
public function getHosts()
Inherited
Return
wild |
public function setService($service)Inherited
public function setService($service)
Inherited
Parameters
PhabricatorSearchService | $service |
Return
wild |
public function getService()Inherited
public function getService()
Inherited
Return
PhabricatorSearchService |
public function getHostType()
public function getHostType()
PhabricatorFulltextStorageEngine
Implementations must return a prototype host instance which is cloned by the PhabricatorSearchService infrastructure to configure each engine.
PhabricatorFerretFulltextStorageEngine
Return
PhabricatorSearchHost |
public function getEngineIdentifier()
public function getEngineIdentifier()
PhabricatorFulltextStorageEngine
Return a unique, nonempty string which identifies this storage engine.
PhabricatorFerretFulltextStorageEngine
Return
string | Unique string for this engine, max length 32. |
public function reindexAbstractDocument($doc)
public function reindexAbstractDocument($doc)
PhabricatorFulltextStorageEngine
Update the index for an abstract document.
PhabricatorFerretFulltextStorageEngine
Parameters
PhabricatorSearchAbstractDocument | $document | Document to update. |
Return
void |
public function executeSearch($query)
public function executeSearch($query)
PhabricatorFulltextStorageEngine
Execute a search query.
PhabricatorFerretFulltextStorageEngine
Parameters
PhabricatorSavedQuery | $query | A query to execute. |
Return
list | A list of matching PHIDs. |
public function indexExists()
public function indexExists()
PhabricatorFulltextStorageEngine
Does the search index exist?
PhabricatorFerretFulltextStorageEngine
Return
bool |
public function getIndexStats()
public function getIndexStats()
PhabricatorFulltextStorageEngine
Implementations should override this method to return a dictionary of stats which are suitable for display in the admin UI.
PhabricatorFerretFulltextStorageEngine
Return
wild |
public function indexIsSane()Inherited
public function indexIsSane()
Inherited
PhabricatorFulltextStorageEngine
Is the index in a usable state?
Return
bool |
public function initIndex()Inherited
public function initIndex()
Inherited
PhabricatorFulltextStorageEngine
Do any sort of setup for the search index.
Return
void |
public function getFulltextTokens()
public function getFulltextTokens()
Return
wild |