- addAll<ID, Document, Index extends Record<string, any> = Record<never, never>>(
searchIndex: SearchIndex<ID, Document, Index>,
documents: readonly Document[],
): void Type Parameters
- ID
- Document
- Index extends Record<string, any> = Record<never, never>
Returns void
Adds all the given documents to the index