Lines Matching defs:Pipeline

34  * @see {@link lunr.Pipeline}
411 * @see {@link lunr.Pipeline}
467 * lunr.Pipeline
491 * a pipeline should be registered with lunr.Pipeline. Registered functions can
500 lunr.Pipeline = function () {
504 lunr.Pipeline.registeredFunctions = Object.create(null)
518 * Any number of pipeline functions may be chained together using a lunr.Pipeline.
539 lunr.Pipeline.registerFunction = function (fn, label) {
545 lunr.Pipeline.registeredFunctions[fn.label] = fn
549 * Warns if the function is not registered as a Pipeline function.
554 lunr.Pipeline.warnIfFunctionNotRegistered = function (fn) {
565 * All functions to be loaded must already be registered with lunr.Pipeline.
570 * @returns {lunr.Pipeline}
572 lunr.Pipeline.load = function (serialised) {
573 var pipeline = new lunr.Pipeline
576 var fn = lunr.Pipeline.registeredFunctions[fnName]
595 lunr.Pipeline.prototype.add = function () {
599 lunr.Pipeline.warnIfFunctionNotRegistered(fn)
613 lunr.Pipeline.prototype.after = function (existingFn, newFn) {
614 lunr.Pipeline.warnIfFunctionNotRegistered(newFn)
634 lunr.Pipeline.prototype.before = function (existingFn, newFn) {
635 lunr.Pipeline.warnIfFunctionNotRegistered(newFn)
650 lunr.Pipeline.prototype.remove = function (fn) {
666 lunr.Pipeline.prototype.run = function (tokens) {
703 lunr.Pipeline.prototype.runString = function (str, metadata) {
715 lunr.Pipeline.prototype.reset = function () {
726 lunr.Pipeline.prototype.toJSON = function () {
728 lunr.Pipeline.warnIfFunctionNotRegistered(fn)
944 * @see {@link lunr.Pipeline}
1151 lunr.Pipeline.registerFunction(lunr.stemmer, 'stemmer')
1167 * @see lunr.Pipeline
1185 * This is intended to be used in the Pipeline. If the token does not pass the
1192 * @see {@link lunr.Pipeline}
1316 lunr.Pipeline.registerFunction(lunr.stopWordFilter, 'stopWordFilter')
1335 * @see lunr.Pipeline
1343 lunr.Pipeline.registerFunction(lunr.trimmer, 'trimmer')
1847 * @param {lunr.Pipeline} attrs.pipeline - The pipeline to use for search terms.
1991 * of processed terms. Pipeline functions may expand the passed
2286 pipeline = lunr.Pipeline.load(serializedIndex.pipeline)
2341 * @property {lunr.Pipeline} pipeline - The pipeline performs text processing on tokens before indexing.
2342 * @property {lunr.Pipeline} searchPipeline - A pipeline for processing search terms before querying the index.
2357 this.pipeline = new lunr.Pipeline
2358 this.searchPipeline = new lunr.Pipeline