Conversation
|
✔️ [V2] 🔨 Explore the source changes: d66454f 🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/61571059f54ad100080f29f5 😎 Browse the preview: https://deploy-preview-5632--docusaurus-2.netlify.app |
|
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-5632--docusaurus-2.netlify.app/ |
|
Size Change: +2 B (0%) Total Size: 835 kB ℹ️ View Unchanged
|
|
Love it! Don't hesitate to invite @lex111 in your new app :D |
Co-authored-by: Clément Vannicatte <20689156+shortcuts@users.noreply.github.com>
|
I like this idea, just accepted the invitation, thanks! |
|
In the meantime of the migration being officially started, you can already browse some doc for the new infrastructure here: https://deploy-preview-1048--eloquent-haibt-041563.netlify.app/ |
|
Hi @slorber, I am currently trying to migrate to the new Algolia configuration but am having some trouble getting the crawler to work. It looks like you have successfully migrated. Is it possible to get a copy of your new crawler configuration such that I can see if mine looks similar to yours? I'm currently on beta-4 if that has any importance. |
|
@krillboi the best is to get in touch with @shortcuts , I think they had some infra issues recently on large docs and it may affect your site? |
I contacted Algolia support and they said something about configuring canonical URLs but I am really unsure what that actually entails as we haven't really changed anything, which is why I thought having a nearly identical config to yours could help, if you already successfully converted your old config to the new setup. |
Hey, we provide templates for website generators, so if your previous config was using the Docusaurus v2 one, it should still be the case. You can find our templates here and make sure it match: https://docsearch.algolia.com/docs/templates/ |
Thanks I'll check this out! |
|
Configuring my config a lot closer to the template seems to have helped me get through, though I am seeing a lot of "ignored because of redirects" entries in Monitoring. Not sure why. Also it seems to get stuck at 425 URLs for me, which might be the infra issue @slorber was referring to? We do have a very large site. Anyways, I guess I should direct this at Algolia support now instead :) |
|
(The DocSearch support will be redirected to me anyway so it's good :D)
It's usually because our crawler found links with and without trailing slashes, only one of them will be handled anyway!
Indeed! The issue is related to really large pages timing out and retrying, which slows the crawl process a lot (can last few hours). If you know which URL are concerned, we recommend you to exclude them from the crawl (add it in We are deploying a fix in our dev env to make more tests and will deploy the real fix in production by tomorrow. |
Okay, thanks for clarifying.
Cool, I'd like to know when it's in production so I can test again. Can inform that the crawl I left at work yesterday afternoon was not finished when I came into work this morning. |
We retry a few time before timing out so it's totally possible. I'll let you know once it's deployed |
|
Hey @krillboi, fix is in prod and seems to work well! |
Motivation
Algolia is migrating to a new system where each app has an
appIdinstead of all apps sharing the sameappIdThis allows them to provide a dashboard for each app, with access to the indice content, a query UI, the ability to trigger crawls manually... much helpful for users to debug their search issues
A progressive batched rollout has started, with the Docusaurus site as one of the first migrated site.
This PR is just some initial doc/config changes we can do today.
We'll write a blog post and update the doc later.
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
preview