Pagefind search issues
Describe the bug A clear and concise description of what the bug is.
Seems that pagefind doesn't rank stuff the way it is supposed to be, or it doesn't work as it should
To Reproduce Steps to reproduce the behavior:
Even on https://nextra.site/ when I search "Layout component" that is H1, you need to scroll all the way down to find it
Expected behavior A clear and concise description of what you expected to happen.
better ranking when searching, any suggestions?
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [iOS]
- Browser [chrome]
Additional context Add any other context about the problem here.
hm, strange, pagefind uses a highest ranking for h1 tags https://pagefind.app/docs/weighting/#default-rankings
is this exposed to be modified on nextra? https://pagefind.app/docs/ranking/
I will push a PR, with these changes got the "Layout Component" search to be top 2 to test
I'm experiencing the same issue :( It would be very helpful if this PR were merged