public function __get($name)Inherited
$name |
wild |
public function __set($name, $value)Inherited
$name | ||
$value |
wild |
public function current()Inherited
wild |
public function key()Inherited
wild |
public function next()Inherited
wild |
public function rewind()Inherited
wild |
public function valid()Inherited
wild |
private function throwOnAttemptedIteration()Inherited
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
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.
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
string | Value of the constant. |
public function getHosts()
wild |
public function setService($service)
PhabricatorSearchService | $service |
wild |
public function getService()
PhabricatorSearchService |
abstract public function getHostType()
Implementations must return a prototype host instance which is cloned by the PhabricatorSearchService infrastructure to configure each engine.
PhabricatorSearchHost |
abstract public function getEngineIdentifier()
Return a unique, nonempty string which identifies this storage engine.
string | Unique string for this engine, max length 32. |
abstract public function reindexAbstractDocument($document)
Update the index for an abstract document.
PhabricatorSearchAbstractDocument | $document | Document to update. |
void |
abstract public function executeSearch($query)
Execute a search query.
PhabricatorSavedQuery | $query | A query to execute. |
list | A list of matching PHIDs. |
abstract public function indexExists()
Does the search index exist?
bool |
abstract public function getIndexStats()
Implementations should override this method to return a dictionary of stats which are suitable for display in the admin UI.
wild |
public function indexIsSane()
Is the index in a usable state?
bool |
public function initIndex()
Do any sort of setup for the search index.
void |
public function getFulltextTokens()
wild |