Skip to main content

ElasticSearchSearchEngine.(constructor)

Home > @backstage/plugin-search-backend-module-elasticsearch > ElasticSearchSearchEngine > (constructor)

Constructs a new instance of the ElasticSearchSearchEngine class

Signature:

constructor(elasticSearchClientOptions: ElasticSearchClientOptions, aliasPostfix: string, indexPrefix: string, logger: LoggerService, batchSize: number, highlightOptions?: ElasticSearchHighlightOptions);

Parameters

Parameter

Type

Description

elasticSearchClientOptions

ElasticSearchClientOptions

aliasPostfix

string

indexPrefix

string

logger

LoggerService

batchSize

number

highlightOptions

ElasticSearchHighlightOptions

(Optional)