SearchEngine.getIndexer()
Home > @backstage/plugin-search-common
> SearchEngine
> getIndexer
Factory method for getting a search engine indexer for a given document type.
Signature:
getIndexer(type: string): Promise<Writable>;
Parameters
Parameter |
Type |
Description |
---|---|---|
type |
string |
The type or name of the document set for which an indexer should be retrieved. This corresponds to the |
Promise<Writable>