Skip to main content

QueryTranslator

Home > @backstage/plugin-search-common > QueryTranslator

Warning: This API is now obsolete.

Import from @backstage/plugin-search-backend-node instead

A type of function responsible for translating an abstract search query into a concrete query relevant to a particular search engine.

Signature:

export type QueryTranslator = (query: SearchQuery) => unknown;

References: SearchQuery