mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
Test rewarding linked terms.
This commit is contained in:
parent
606f801fd7
commit
a6a6bdb013
@ -50,8 +50,8 @@ public class SearchResultValuator {
|
|||||||
if (!scores[i].link && !scores[i].title) {
|
if (!scores[i].link && !scores[i].title) {
|
||||||
termValue *= lengthPenalty;
|
termValue *= lengthPenalty;
|
||||||
}
|
}
|
||||||
if (scores[i].link) {
|
else if (scores[i].link) {
|
||||||
termValue /= 2;
|
termValue /= 4.75;
|
||||||
}
|
}
|
||||||
|
|
||||||
termSum += termValue;
|
termSum += termValue;
|
||||||
|
Loading…
Reference in New Issue
Block a user