This commit is contained in:
MarcRiera 2022-09-06 05:55:34 +00:00
parent 52169a9bb4
commit f157108a8c
238 changed files with 5034 additions and 1952 deletions

View file

@ -9,6 +9,7 @@ function initLunr() {
// Set up lunrjs by declaring the fields we use
// Also provide their boost level for the ranking
lunrIndex = lunr(function() {
this.use(lunr.multiLanguage.apply(null, contentLangs));
this.ref('index');
this.field('title', {
boost: 15