It seems like code blocks are ignored. For example, searching for "addMiddleware" shows No result even though "addMiddleware" is present on the page vike.dev/renderPage (inside the first code block).
How to show all results?
For example, searching for "oncreateapp" doesn't list the page https://vike.dev/vuex but does list https://vike.dev/pinia even though both pages share the same text matching "oncreateapp".
It seems like Docsearch only shows the top results? Can we configure it to show all results?
Description
The search on
vike.dev
is a bit erratic.I guess it's mostly due to misconfiguring Algolia Docsearch. E.g the search on
vitejs.dev
seems much better.Same post on Algolia's forum.
How to avoid duplicates in the result list?
For example, searching for "oncreateapp" lists the page
https://vike.dev/onCreateApp
twice.How to also search code snippets?
It seems like code blocks are ignored. For example, searching for "addMiddleware" shows
No result
even though "addMiddleware" is present on the page vike.dev/renderPage (inside the first code block).How to show all results?
For example, searching for "oncreateapp" doesn't list the page
https://vike.dev/vuex
but does listhttps://vike.dev/pinia
even though both pages share the same text matching "oncreateapp".It seems like Docsearch only shows the top results? Can we configure it to show all results?