Skip to main content
Version: Next

SearchEngine

Home > @backstage/plugin-search-backend-node > SearchEngine

Interface that must be implemented by specific search engines, responsible for performing indexing and querying and translating abstract queries into concrete, search engine-specific queries.

Signature:

export interface SearchEngine 

Methods

Method

Description

getIndexer(type)

Factory method for getting a search engine indexer for a given document type.

query(query, options)

Perform a search query against the SearchEngine.

setTranslator(translator)

Override the default translator provided by the SearchEngine.