Increase default boost weights
This commit is contained in:
@@ -8,8 +8,8 @@ import type { IndexedDocument } from '../src/globals'
|
||||
type Note = { path: string; basename: string; text: string }
|
||||
|
||||
const defaults: any = {
|
||||
fuzziness: '1', weightBasename: 10, weightDirectory: 7, weightH1: 6,
|
||||
weightH2: 5, weightH3: 4, weightH4: 3, weightColonHeadings: 2, weightUnmarkedTags: 2, recencyBoost: '0',
|
||||
fuzziness: '1', weightBasename: 10, weightDirectory: 8, weightH1: 7,
|
||||
weightH2: 6, weightH3: 5, weightH4: 4, weightColonHeadings: 3, weightUnmarkedTags: 2, recencyBoost: '0',
|
||||
downrankedFoldersFilters: [], hideExcluded: false, weightCustomProperties: [],
|
||||
ignoreDiacritics: true, ignoreArabicDiacritics: false, simpleSearch: false,
|
||||
maxEmbeds: 5, renderLineReturnInExcerpts: true, highlight: true,
|
||||
|
||||
Reference in New Issue
Block a user