mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(ranking) Downtune score boost for unordered heading matces
This commit is contained in:
parent
461bc3eb1a
commit
73861e613f
@ -454,7 +454,7 @@ public class IndexResultScoreCalculator {
|
||||
for (int i = 0; i < weights.length; i++) {
|
||||
weights[i] = switch(HtmlTag.includedTags[i]) {
|
||||
case TITLE -> 2.5f;
|
||||
case HEADING -> 2.5f;
|
||||
case HEADING -> 1.25f;
|
||||
case ANCHOR -> 0.2f;
|
||||
case NAV -> 0.1f;
|
||||
case CODE -> 0.25f;
|
||||
|
Loading…
Reference in New Issue
Block a user