JSDoc
lunr.Builder performs indexing on a set of documents and
returns instances of lunr.Index ready for querying.
All configuration of the index is done via the builder, the
fields to index, the document reference, the text processing
pipeline and document scoring parameters are all set on the
builder before indexing.