Skip to content

Commit

Permalink
feat: update termFrequency to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
HiDeoo committed May 3, 2024
1 parent 0e3103b commit 7b515e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/starlight/components/Search.astro
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ const pagefindTranslations = {
element: '#starlight__search',
baseUrl: import.meta.env.BASE_URL,
bundlePath: import.meta.env.BASE_URL.replace(/\/$/, '') + '/pagefind/',
ranking: { termFrequency: 0.5 },
showImages: false,
translations,
showSubResults: true,
Expand Down

0 comments on commit 7b515e8

Please sign in to comment.