mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(index) Try harmonic mean for avgMinDist
This commit is contained in:
parent
53700e6667
commit
65bee366dc
@ -591,7 +591,7 @@ public class IndexResultScoreCalculator {
|
||||
if (cnt > 0 && sum > 0) {
|
||||
return cnt / sum;
|
||||
} else {
|
||||
return 1000.;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user