This commit is contained in:
MarcRiera 2022-09-17 16:10:13 +00:00
parent 2e2e54e756
commit 8741cca729
242 changed files with 5054 additions and 1972 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