The type of documents being indexed.
OptionalautoDefault auto-suggest options.
OptionalautoAuto-vacuum behaviour after MiniSearch discard; defaults to true.
OptionalextractFunction used to extract the value of each field in documents.
Names of the document fields to be indexed.
OptionalidName of the ID field, uniquely identifying a document. Defaults to "id".
OptionalloggerFunction called to log messages from the library.
OptionalprocessFunction used to process a term before indexing or search (e.g. stemming).
OptionalsearchDefault search options.
OptionalstoreNames of fields to store, so that search results would include them.
OptionalstringifyFunction used to turn field values into strings for indexing.
OptionaltokenizeFunction used to split a field value into individual terms to be indexed.
Configuration options compatible with the MiniSearch constructor.