@arsedizioni/ars-utils 21.1.85 → 21.1.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1305,7 +1305,7 @@ class ClipperDocumentComponent extends ClipperDocumentManager {
|
|
|
1305
1305
|
maxScore = n.score;
|
|
1306
1306
|
}
|
|
1307
1307
|
});
|
|
1308
|
-
maxScore = maxScore * 1.
|
|
1308
|
+
maxScore = maxScore * 1.1; // add 10% treshold
|
|
1309
1309
|
r.value.items[0].anchors.forEach(n => {
|
|
1310
1310
|
let score = n.score / maxScore || 1;
|
|
1311
1311
|
n.score = score;
|
|
@@ -2176,7 +2176,7 @@ class ClipperSearchResultManager extends ClipperDocumentManager {
|
|
|
2176
2176
|
maxScore = a.score;
|
|
2177
2177
|
}
|
|
2178
2178
|
});
|
|
2179
|
-
maxScore = maxScore * 1.
|
|
2179
|
+
maxScore = maxScore * 1.1; // add 10% treshold
|
|
2180
2180
|
n.anchors.forEach(a => {
|
|
2181
2181
|
if (a.type === 20)
|
|
2182
2182
|
return;
|