AirLay backend

ElasticsearchIndexBuilderTask extends AirlayTask
in package

airlay-cli elasticsearch_index_builder

Table of Contents

$client  : Elasticsearch
$dataSetId  : string|null
$drop  : bool
$flags  : Flags
buildAction()  : void
initialize()  : void
mainAction()  : void
startWorkerAction()  : void
abortWorkWithMessage()  : never
getDataSetTitle()  : string
parseFlagsFromParams()  : void
Parse command line arguments from array. Output default values if --help or -h argument specified.
requestConfirm()  : bool
getDataSets()  : array<string|int, mixed>
rebuildTextIndex()  : void
updateIndex()  : void

Properties

Methods

initialize()

public initialize() : void
Tags
throws
AuthenticationException
throws
MissingFlagParamException
throws
InvalidFlagTypeException
throws
InvalidFlagParamException
Return values
void

abortWorkWithMessage()

protected abortWorkWithMessage(string $message) : never
Parameters
$message : string
Return values
never

getDataSetTitle()

protected getDataSetTitle(array<string|int, mixed>|DataSetEntity $dataSet) : string
Parameters
$dataSet : array<string|int, mixed>|DataSetEntity
Return values
string

parseFlagsFromParams()

Parse command line arguments from array. Output default values if --help or -h argument specified.

protected parseFlagsFromParams(Flags $flags[, array<string|int, mixed> $params = [] ]) : void
Parameters
$flags : Flags
$params : array<string|int, mixed> = []
Return values
void

requestConfirm()

protected requestConfirm(string $message) : bool
Parameters
$message : string
Return values
bool

updateIndex()

private updateIndex(mixed $dataSetId, mixed $objects) : void
Parameters
$dataSetId : mixed
$objects : mixed
Tags
throws
ClientResponseException
throws
NoNodeAvailableException
throws
ServerResponseException
throws
RuntimeException
Return values
void

Search results