Skip to content

Commit

Permalink
remove "only" from search stop word filter (#1264)
Browse files Browse the repository at this point in the history
This is a new base export in 1.4
  • Loading branch information
visr authored Mar 20, 2020
1 parent b8ef3f7 commit c69fe60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/html/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -104,7 +104,6 @@ $(document).ready(function() {
'off',
'often',
'on',
'only',
'or',
'other',
'our',
Expand Down

0 comments on commit c69fe60

Please sign in to comment.