diff options
Diffstat (limited to 'assets/search-data.js')
-rw-r--r-- | assets/search-data.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/search-data.js b/assets/search-data.js index 5b015e4..53394e7 100644 --- a/assets/search-data.js +++ b/assets/search-data.js @@ -14,9 +14,9 @@ window.bookSearch = { pages: pages, idx: lunr(function() { - this.ref('idx'); - this.field('title'); - this.field('content'); + this.ref("idx"); + this.field("title", { boost: 10000 }); + this.field("content"); pages.forEach(this.add, this); }), |