Skip to main content

elasticsearch-store / elasticsearch-client/create-client

elasticsearch-client/create-client

Functions

createClient()

createClient(config, logger): Promise<object>

Parameters

ParameterType
configClientConfig
loggerLogger

Returns

Promise<object>

client

client: Client

log()

log: () => Logger

Returns

Logger

Source

elasticsearch-store/src/elasticsearch-client/create-client.ts:16


getBaseClient()

getBaseClient(clientMetadata, config, logger): Promise<default | Client | Client | Client | Client>

Parameters

ParameterType
clientMetadataClientMetadata
configClientConfig
loggerLogger

Returns

Promise<default | Client | Client | Client | Client>

Source

elasticsearch-store/src/elasticsearch-client/create-client.ts:85