Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (ElasticClient $client, LockManager $lockManager, Config $options=null) | |
getConfig () | |
clear () | |
getIndexNameByType ( $type) | |
getIndexName ( $type) | |
getIndexDefByType ( $type) | |
getIndexDefFileModificationTimeByType ( $type) | |
getVersion () | |
getSoftwareInfo () | |
info () | |
stats ( $type='indices', $params=[]) | |
cat ( $type, $params=[]) | |
indices () | |
ingest () | |
hasIndex ( $type) | |
createIndex ( $type) | |
deleteIndex ( $type) | |
putSettings (array $params) | |
putMapping (array $params) | |
getMapping (array $params) | |
getSettings (array $params) | |
refresh (array $params) | |
validate (array $params) | |
ping () | |
quick_ping ( $timeout=2) | |
exists (array $params) | |
get (array $params) | |
delete (array $params) | |
update (array $params) | |
index (array $params) | |
bulk (array $params) | |
count (array $params) | |
search (array $params) | |
explain (array $params) | |
hasMaintenanceLock () | |
setMaintenanceLock () | |
setLock ( $type, $version) | |
hasLock ( $type) | |
getLock ( $type) | |
releaseLock ( $type) | |
Public Attributes | |
const | TYPE_DATA = 'data' |
const | TYPE_LOOKUP = 'lookup' |
Reduced interface to the Elasticsearch client class.
GNU GPL v2+
SMW\Elastic\Connection\Client::__construct | ( | ElasticClient | $client, |
LockManager | $lockManager, | ||
Config | $options = null |
||
) |
ElasticClient | $client | |
LockManager | $lockManager | |
Options | null | $options |
SMW\Elastic\Connection\Client::bulk | ( | array | $params | ) |
SMW\Elastic\Connection\Client::cat | ( | $type, | |
$params = [] |
|||
) |
array |
SMW\Elastic\Connection\Client::clear | ( | ) |
SMW\Elastic\Connection\Client::count | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::createIndex | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::delete | ( | array | $params | ) |
SMW\Elastic\Connection\Client::deleteIndex | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::exists | ( | array | $params | ) |
SMW\Elastic\Connection\Client::explain | ( | array | $params | ) |
SMW\Elastic\Connection\Client::get | ( | array | $params | ) |
SMW\Elastic\Connection\Client::getConfig | ( | ) |
SMW\Elastic\Connection\Client::getIndexDefByType | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::getIndexDefFileModificationTimeByType | ( | $type | ) |
SMW\Elastic\Connection\Client::getIndexName | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::getIndexNameByType | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::getLock | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::getMapping | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::getSettings | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::getSoftwareInfo | ( | ) |
SMW\Elastic\Connection\Client::getVersion | ( | ) |
SMW\Elastic\Connection\Client::hasIndex | ( | $type | ) |
string | $type | |
boolean |
SMW\Elastic\Connection\Client::hasLock | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::hasMaintenanceLock | ( | ) |
SMW\Elastic\Connection\Client::index | ( | array | $params | ) |
SMW\Elastic\Connection\Client::indices | ( | ) |
SMW\Elastic\Connection\Client::info | ( | ) |
array |
SMW\Elastic\Connection\Client::ingest | ( | ) |
SMW\Elastic\Connection\Client::ping | ( | ) |
SMW\Elastic\Connection\Client::putMapping | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::putSettings | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::quick_ping | ( | $timeout = 2 | ) |
SMW\Elastic\Connection\Client::refresh | ( | array | $params | ) |
array | $params |
SMW\Elastic\Connection\Client::releaseLock | ( | $type | ) |
string | $type |
SMW\Elastic\Connection\Client::search | ( | array | $params | ) |
SMW\Elastic\Connection\Client::setLock | ( | $type, | |
$version | |||
) |
string | $type | |
string | $version |
SMW\Elastic\Connection\Client::setMaintenanceLock | ( | ) |
SMW\Elastic\Connection\Client::stats | ( | $type = 'indices' , |
|
$params = [] |
|||
) |
array |
SMW\Elastic\Connection\Client::update | ( | array | $params | ) |
SMW\Elastic\Connection\Client::validate | ( | array | $params | ) |
array | $params |
const SMW\Elastic\Connection\Client::TYPE_DATA = 'data' |
" ... Indices created in Elasticsearch 6.0.0 or later may only contain a single mapping type ..."
const SMW\Elastic\Connection\Client::TYPE_LOOKUP = 'lookup' |
Index, type to temporary store index lookups during the execution of subqueries.