diff --git a/packages/starlight/components/Search.astro b/packages/starlight/components/Search.astro index a565ef423d9..e8d64588de7 100644 --- a/packages/starlight/components/Search.astro +++ b/packages/starlight/components/Search.astro @@ -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,