Test rewarding linked terms.

This commit is contained in:
vlofgren 2022-08-02 17:52:21 +02:00
parent 606f801fd7
commit a6a6bdb013

View File

@ -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;