MCPcopy
hub / github.com/leeoniya/uFuzzy / lunr

Function lunr

demos/lib/lunr.js:40–55  ·  view source on GitHub ↗
(config)

Source from the content-addressed store, hash-verified

38 * @namespace {function} lunr
39 */
40var lunr = function (config) {
41 var builder = new lunr.Builder
42
43 builder.pipeline.add(
44 lunr.trimmer,
45 lunr.stopWordFilter,
46 lunr.stemmer
47 )
48
49 builder.searchPipeline.add(
50 lunr.stemmer
51 )
52
53 config.call(builder, builder)
54 return builder.build()
55}
56
57lunr.version = "2.3.9"
58/*!

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…