Skip to content

Commit

Permalink
Merge pull request #10 from kmc-jp/walnuts1018-patch-1
Browse files Browse the repository at this point in the history
一旦タイトル長さのスコアを消す
  • Loading branch information
walnuts1018 authored Feb 8, 2024
2 parents 4d9c3d7 + 0f1ca59 commit fac8179
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions app/routes/search.scrapbox/els-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,6 @@ export async function requestSearch({
},
},
},
{
script_score: {
// boost by title length (jakkan)
script: {
inline:
"_score / Math.sqrt(Math.log1p(doc['title.keyword'].value.length()))",
},
},
},
];
break;
}
Expand Down

0 comments on commit fac8179

Please sign in to comment.