ElasticSearchSearchEngine
Home > @backstage/plugin-search-backend-module-elasticsearch
> ElasticSearchSearchEngine
Signature:
class ElasticSearchSearchEngine implements SearchEngine
Implements: SearchEngine
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(elasticSearchClientOptions, aliasPostfix, indexPrefix, logger, batchSize, highlightOptions) | Constructs a new instance of the ElasticSearchSearchEngine class |
Methods
Method | Modifiers | Description |
---|---|---|
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 |