Skip to content

Commit 9eaebd4

Browse files
flakoleflukbenlesh
authored andcommitted
fix(docs-app): remove stopWordFilter from lunr pipeline (#4536)
1 parent 6805c7b commit 9eaebd4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs_app/src/app/search/search-worker.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ self.onmessage = handleMessage;
2828
// the path and search terms for a page
2929
functioncreateIndex(addFn){
3030
returnlunr(/** @this */function(){
31+
this.pipeline.remove(lunr.stopWordFilter);
3132
this.ref('path');
3233
this.field('titleWords',{boost: 100});
3334
this.field('headingWords',{boost: 50});

0 commit comments

Comments
 (0)