From c69fe60cd5ab24c37e735fe6c95aafbeeaf9bab9 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Fri, 20 Mar 2020 12:08:00 +0100 Subject: [PATCH] remove "only" from search stop word filter (#1264) This is a new base export in 1.4 --- assets/html/search.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/assets/html/search.js b/assets/html/search.js index 0d7bd5c3ce..2eb6b66dd5 100644 --- a/assets/html/search.js +++ b/assets/html/search.js @@ -38,7 +38,7 @@ $(document).ready(function() { }) // list below is the lunr 2.1.3 list minus the intersect with names(Base) - // (all, any, get, in, is, which) and (do, else, for, let, where, while, with) + // (all, any, get, in, is, only, which) and (do, else, for, let, where, while, with) // ideally we'd just filter the original list but it's not available as a variable lunr.stopWordFilter = lunr.generateStopWordFilter([ 'a', @@ -104,7 +104,6 @@ $(document).ready(function() { 'off', 'often', 'on', - 'only', 'or', 'other', 'our',