Skip to content

Commit 97a8c74

Browse files
committed
tweak scoring a bit
...to try to keep most search results roughly where they currently are.
1 parent 66b736c commit 97a8c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/search_scorer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var Scorer = {
55
// boost the score of built-in functions and types
66
const builtinPages = ["library/stdtypes", "library/functions"];
77
if (builtinPages.includes(docname)) {
8-
score += 10;
8+
score += 7;
99
}
1010

1111
return score;

0 commit comments

Comments
 (0)