public function __construct($engine)
public function __construct($engine)
Parameters
PhabricatorFulltextStorageEngine | $engine |
Return
this | //Implicit.// |
public function newHost($config)
public function newHost($config)
Parameters
$config |
Return
wild |
public function getEngine()
public function getEngine()
Return
wild |
public function getDisplayName()
public function getDisplayName()
Return
wild |
public function getStatusViewColumns()
public function getStatusViewColumns()
Return
wild |
public function setConfig($config)
public function setConfig($config)
Parameters
$config |
Return
wild |
public function getConfig()
public function getConfig()
Return
wild |
public static function getConnectionStatusMap()
public static function getConnectionStatusMap()
Return
wild |
public function isWritable()
public function isWritable()
Return
wild |
public function isReadable()
public function isReadable()
Return
wild |
public function getPort()
public function getPort()
Return
wild |
public function getProtocol()
public function getProtocol()
Return
wild |
public function getVersion()
public function getVersion()
Return
wild |
public function getHosts()
public function getHosts()
Return
wild |
public function getAnyHostForRole($role)
public function getAnyHostForRole($role)
Get a random host reference with the specified role, skipping hosts which failed recent health checks.
Parameters
$role |
Return
PhabricatorSearchHost |
public function getAllHostsForRole($role)
public function getAllHostsForRole($role)
Get all configured hosts for this service which have the specified role.
Parameters
$role |
Return
PhabricatorSearchHost[] |
public static function getAllServices()
public static function getAllServices()
Get a reference to all configured fulltext search cluster services
Return
PhabricatorSearchService[] |
public static function loadAllFulltextStorageEngines()
public static function loadAllFulltextStorageEngines()
Load all valid PhabricatorFulltextStorageEngine subclasses
Return
wild |
public static function newRefs()
public static function newRefs()
Create instances of PhabricatorSearchService based on configuration
Return
PhabricatorSearchService[] |
public static function reindexAbstractDocument($document)
public static function reindexAbstractDocument($document)
(re)index the document: attempt to pass the document to all writable fulltext search hosts
Parameters
PhabricatorSearchAbstractDocument | $document |
Return
wild |
public static function executeSearch($query)
public static function executeSearch($query)
Execute a full-text query and return a list of PHIDs of matching objects.
Parameters
PhabricatorSavedQuery | $query |
Return
string[] |
public static function newResultSet($query)
public static function newResultSet($query)
Parameters
PhabricatorSavedQuery | $query |
Return
wild |