Lines Matching defs:add
29 * this.add(doc)
43 builder.pipeline.add(
49 builder.searchPipeline.add(
509 * or mutate (or add) metadata for a given token.
533 * Registering a function does not add it to a pipeline, functions must still be
579 pipeline.add(fn)
593 * @param {lunr.PipelineFunction[]} functions - Any number of functions to add to the pipeline.
595 lunr.Pipeline.prototype.add = function () {
611 * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.
632 * @param {lunr.PipelineFunction} newFn - The new function to add to the pipeline.
2102 * for the term we are working with. In that case we just add the scores
2130 fieldMatch.add(expandedTerm, field, metadata)
2464 * @param {object} doc - The document to add to the index.
2468 lunr.Builder.prototype.add = function (doc, attributes) {
2502 // add to inverted index
2516 // add an entry for this term/fieldName/docRef to the invertedIndex
2763 lunr.MatchData.prototype.add = function (term, field, metadata) {
2881 * @param {lunr.Query~Clause} clause - The clause to add to this query.
2946 * @param {object|object[]} term - The term(s) to add to the query.
2947 * @param {object} [options] - Any additional properties to add to the query clause.