public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
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 |