Skip to content

Commit 48b694d

Browse files
committed
"Negative" weights for custom fields
1 parent 79bcc67 commit 48b694d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/settings.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ export class SettingsTab extends PluginSettingTab {
510510
new Setting(containerEl)
511511
.setName('Header properties fields')
512512
.setDesc(
513-
'You can set custom weights for values of header properties (e.g. "keywords").'
513+
'You can set custom weights for values of header properties (e.g. "keywords"). Weights under 1.0 will downrank the results.'
514514
)
515515

516516
for (let i = 0; i < settings.weightCustomProperties.length; i++) {
@@ -528,7 +528,7 @@ export class SettingsTab extends PluginSettingTab {
528528
})
529529
})
530530
.addSlider(cb => {
531-
cb.setLimits(1, 5, 0.1)
531+
cb.setLimits(0.1, 5, 0.1)
532532
.setValue(item.weight)
533533
.setDynamicTooltip()
534534
.onChange(async v => {

0 commit comments

Comments
 (0)