-
-
Notifications
You must be signed in to change notification settings - Fork 942
Default pagefind ranking weights are not applied to meged indexes #2989
Copy link
Copy link
Closed
Description
What version of starlight are you using?
0.32.2
What version of astro are you using?
5.4.2
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Firefox, Chrome
Describe the Bug
By default, the current site have the default values applied to the ranking property of pagefind.
But not applied to the merged indexes, and that can let them have higher scores on search while having a worst content compared to the current site.
At first I was thinking of a bug in pagefind, which led me to open this issue: Pagefind/pagefind#796
But after digging my browser debugger for hours I seen that the merged indexes did not have ranking values at all. I quickly add the default value to them to test it, and everything comes back to a nominal behavior.
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels