Optionalhints: FrozenIndexBuilderHintsNumber of documents indexed so far (not yet frozen).
Adds all the given documents to the index.
An array of documents to be indexed
Adds all the given documents to the index asynchronously.
Returns a promise that resolves (to undefined) when the indexing is done.
This method is useful when indexing many documents, to avoid blocking the main
thread. The indexing is performed asynchronously and in chunks. Finalize with
freezeFrozenIndexBuilder when done.
An array of documents to be indexed
Configuration options
A promise resolving to undefined when the indexing is done
Finalize this builder into assembly params. Call assembleFrozen or freezeFrozenIndexBuilder to obtain a FrozenMiniSearch instance.
Incremental builder for FrozenMiniSearch without materializing a full
documents[]array.