Skip to main content

ElasticSearchSearchEngine

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

Signature:

class ElasticSearchSearchEngine implements SearchEngine 

Implements: SearchEngine

Constructors

ConstructorModifiersDescription
(constructor)(elasticSearchClientOptions, aliasPostfix, indexPrefix, logger, batchSize, highlightOptions)Constructs a new instance of the ElasticSearchSearchEngine class

Methods

MethodModifiersDescription
fromConfig(options)static
getIndexer(type)
newClient(create)Create a custom search client from the derived search client configuration. This need not be the same client that the engine uses internally.
query(query)
setIndexTemplate(template)
setTranslator(translator)
translator(query, options)protected