mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 13:09:00 +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) {
|
||||
termValue *= lengthPenalty;
|
||||
}
|
||||
if (scores[i].link) {
|
||||
termValue /= 2;
|
||||
else if (scores[i].link) {
|
||||
termValue /= 4.75;
|
||||
}
|
||||
|
||||
termSum += termValue;
|
||||
|
Loading…
Reference in New Issue
Block a user