Optional Readonly clientElasticsearch client
Optional Readonly elasticElastic6Service instance
Optional Readonly queryElastic6QueryService instance
Optional Readonly synchronizerElastic6Synchronizer instance
expose the internal helpers. (ONLY for debugging)
create http-web-proxy agent which using endpoint as proxy server.
createHttpWebProxy()as proxy agent: GET
service url (ex: https://xyz.execute-api.~/dev/search/0/proxy)
Optional options: { credentials?: Credentials; encoder?: ((name: string, path: string) => string); headers?: APIHeaders; name?: string; region?: string; relayHeaderKey?: string; resultKey?: string }optionals parameters.
Optional credentials?: Credentialscredentials to load
Optional encoder?: ((name: string, path: string) => string)path encoder (default encodeURIComponent)
Optional headers?: APIHeadersheaders
Optional name?: stringclient-name (default env.NAME)
Optional region?: stringregion
Optional relayrelay-key in headers for proxy.
Optional resultresultKey in response
describe (or parse) the endpoint url
Optional options: { errScope?: string; throwable?: boolean }Optional errOptional throwable?: booleanload the local credential
Optional profile: string(optional) target profile (default use loadProfile(), '' use the default);
read the current elastic6-option.
create async generator that yields items queried until last
Elasticsearch Query DSL
Optional searchType: "query_then_fetch" | "dfs_query_then_fetch"see 'search_type' in Elasticsearch documentation
search raw query
Elasticsearch Query DSL
Optional params: Elastic6SearchParamssee 'search_type' in Elasticsearch documentation
Generated using TypeDoc
class:
Elastic6Instance