Commit 76079f28 authored by Gabriela Bittencourt's avatar Gabriela Bittencourt Committed by Albert Gräf
Browse files

Bugfix: get rid of elasticlunr's default stop words

These interfere with incremental search (if an object name happens to be
a stop word then it won't show in the search results), so we get rid of
them.
parent 7615ece7
......@@ -103,6 +103,7 @@ var fs = require("fs");
var path = require("path");
var dive = require("./dive.js"); // small module to recursively search dirs
var elasticlunr = require("./elasticlunr.js"); // lightweight full-text search engine in JavaScript, cf. https://github.com/weixsong/elasticlunr.js/
elasticlunr.clearStopWords();
function init_elasticlunr()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment