elasticsearch-store / elasticsearch-client/create-client
elasticsearch-client/create-client
Functions
createClient()
createClient(
config
,logger
):Promise
<object
>
Parameters
Parameter | Type |
---|---|
config | ClientConfig |
logger | Logger |
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
Parameter | Type |
---|---|
clientMetadata | ClientMetadata |
config | ClientConfig |
logger | Logger |
Returns
Promise
<default
| Client
| Client
| Client
| Client
>
Source
elasticsearch-store/src/elasticsearch-client/create-client.ts:85