Skip to content

Commit 9eaebd4

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

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

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

+1
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
function createIndex(addFn) {
3030
return lunr(/** @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)
Please sign in to comment.