BatchSearchEngineIndexer.index()
Home > @backstage/plugin-search-backend-node
> BatchSearchEngineIndexer
> index
Receives an array of indexable documents (of size this.batchSize) which should be written to the search engine. This method won't be called again at least until it resolves.
Signature:
abstract index(documents: IndexableDocument[]): Promise<void>;
Parameters
Parameter |
Type |
Description |
---|---|---|
documents |
Promise<void>