Closed joe-bell closed 2 years ago
cc @shortcuts
Hey, looking at the requests sent, contextualSearch
option is set to true
on the Docusaurus side but your Crawler config has changed (you can see the warning message on 1st screenshot) to a Docusaurus v2 config
This is indeed related to the issue you've linked, you can follow both https://github.com/facebook/docusaurus/issues/6693#issuecomment-1158568333 or https://github.com/facebook/docusaurus/issues/6693#issuecomment-1158639529 for the solution/context.
TLDR: Delete Algolia index from the dashboard and start a new crawl
Wow, a classic case of "turn it off and on again" 🙈
Thanks so much @shortcuts, that resolved it for me
Thanks @shortcuts!
EDIT: see Troubleshooting section added to our docs here:
https://docusaurus.io/docs/search#algolia-troubleshooting
For anyone passing by, if you don't get any Algolia search results:
See also: https://github.com/facebook/docusaurus/discussions/10007#discussioncomment-9021352
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Prior to the DocSearch migration, plaiceholder.co's search integration worked seamlessly
Since upgrading, I've been unable to get the search up and running again for over a week now – this is my resort! I've followed steps in #4872, #6693 and the migration guide, with no luck.
Additional context to the repro provided:
Crawler Config
```ts new Crawler({ appId: "I love using Docusaurus, so I'd really appreciate any support to get this up and running again
Reproducible demo
https://github.com/joe-bell/plaiceholder/tree/main/docs
Steps to reproduce
/docs/search
get
(this did return results prior to upgrade)Expected behavior
In Algolia's Crawler editor page, I'm able to see that this should return results:
Actual behavior
Typing
get
(or any search) returns no resultsYour environment
Self-service