#74 - boost unmarked tags

This commit is contained in:
Simon Cambier
2023-07-22 23:04:30 +02:00
parent a7c3826a1d
commit 3ac85e7aa8
5 changed files with 18 additions and 4 deletions

View File

@@ -196,6 +196,7 @@ export class Omnisearch {
headings1: settings.weightH1,
headings2: settings.weightH2,
headings3: settings.weightH3,
unmarkedTags: settings.weightUnmarkedTags
},
})
@@ -210,7 +211,6 @@ export class Omnisearch {
ext.startsWith(e.startsWith('.') ? e : '.' + e)
)
})
console.log(query.query.ext, results.length)
}
// Filter query results that match the path