Closed KnorpelSenf closed 11 months ago
Can you show me your crawler configuration? Don't forget to hide the API key
*And for the shake of meme:
We didn't configure it, it's Algolia that hosts it for us. They used to have their configuration stored in https://github.com/algolia/docsearch-configs/blob/master/configs/grammy.json and https://github.com/algolia/docsearch-configs/blob/master/deployed-configs/g/grammy.js but then the migrated their infrastructure to … something very different (I never really tried to understand it) and now it's stored somewhere on their servers.
I can try to dig through the dashboards in some time and see if I find anything that's related to this issue. Either way, the config has never been changed.
https://github.com/algolia/docsearch-configs/blob/master/deployed-configs/g/grammy.js
Ah, I think we found the culprit. They are looking for vuepress class which is doesn't exist. My cm-grammy.netlify.dev just got approval for their crawling program. I will try to do some experiment tonight and give you the fixed config asap (hopefully).
Don't bother. I got time to look into this. I found https://docsearch.algolia.com/docs/templates/#vitepress-template and will fix it now.
Nice. Pretty outdated though. For example, lvl0 should select the active navlink in sidebar. Still better than nothing.
Yep it works pretty poorly, I'm still investigating
The old index for the VuePress site has these many records:
The new config and the VitePress site only has these many:
So for some reason it does not find all the content. I am not sure why.
Pretty much the same:
Either we failed to index some information or the new one is more optimized. However, when comparing the search results with the vuepress, the outcome is the same or perhaps even better with more results.
Vuepress: https://github.com/grammyjs/website/pull/833#issuecomment-1609944061 Vitepress: https://cm-grammy.netlify.app
Let's just go ahead then. If we find ways to improve the search in the future, we can still implement them.
This change isn't going to disrupt anything, so it shouldn't be blocking us. I will take care of updating the crawler config and index tomorrow.
Fixed.
There was a blocking error and the crawler has been paused. Please resolve it before moving forward. Without intervention, the crawl will be discarded and retried on the next schedule (2 attempts remaining).
Related: https://www.algolia.com/doc/tools/crawler/apis/configuration/