Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Algolia search on docs website is returning 404s #406

Closed
langlers opened this issue Mar 4, 2024 · 4 comments
Closed

Algolia search on docs website is returning 404s #406

langlers opened this issue Mar 4, 2024 · 4 comments
Labels

Comments

@langlers
Copy link

langlers commented Mar 4, 2024

Describe the bug

Algolia search returning 404s on SEOmatic plugin docs website.

To reproduce

Steps to reproduce the behaviour:

  1. Go to https://nystudio107.com/docs/seomatic/v4/
  2. Click on the search box and enter, e.g., "sitemap".
  3. See 404 error message https://nystudio107.com/docs/seomatic/configuring.html#sitemap

Expected behaviour

Search results.

@langlers langlers added the bug label Mar 4, 2024
@khalwat
Copy link
Collaborator

khalwat commented Mar 5, 2024

I think this is a result of the recent Docs restructuring. I think Agolia just needs to re-index it, I'll see if there's a way to kickstart it.

@khalwat khalwat closed this as completed Mar 5, 2024
@khalwat
Copy link
Collaborator

khalwat commented Mar 5, 2024

Looks like we just need to wait until it fixes itself:

It's not possible to manually trigger reindexing for DocSearch.

DocSearch crawls your site and reindexes once a day.

The DocSearch scraper follows the recommended atomic-reindexing strategy. It creates a brand new temporary index to populate the data scraped from your website. When successful, the crawl overwrites the old index defined in your configuration with the key index_name and deletes the temporary index.

https://support.algolia.com/hc/en-us/articles/13314090986513-How-do-I-trigger-a-reindex-with-DocSearch

@khalwat
Copy link
Collaborator

khalwat commented Mar 5, 2024

Apparently, if I login via https://crawler.algolia.com/admin I can force it to re-index

@khalwat
Copy link
Collaborator

khalwat commented Mar 5, 2024

So apparently because the SEOmatic documentation was completely redone, the index had enough changed in it that Algolia would not automatically replace it like it normally does. The old login.algolia.com that I was using does not show any indication of this, nor does it allow me to re-index it. But if I login via crawler.algolia.com I'm able to see the alert that allows me to manually replace the index, as well as manually re-index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants