-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
The result of the search can not be displayed correctly on the full search page and get an error, but it can be displayed correctly in the dialog view #9200
Comments
Our Docusaurus code expects search hits to have a But in your case this attribute seems absent and the response is quite different: I'm going to close because IMHO it's very likely not a bug, but an algolia crawler configuration problem that does not match our official recommendations. You are free to use a different configuration if you want, but we can't provide support for that. @shortcuts can probably confirm, but most likely your site doesn't have the appropriate Algolia config that we recommend in our docs:
Notably: Please double-check your entire setup and reindex your site. |
Hey, yes I'd suggest the same way to solve it, this is most likely a misconfiguration of the Crawler. Considering you have all other properties, updating the index settings should be enough |
I checked our crawler configuration, seems it's right, pls see the below image, and I reindex the full index, but the problem is still happen @slorber @shortcuts |
hey @urfreespace, those index settings are called to prevent having to do this manually, you can delete the index and then restart the crawl |
working fine now, big thanks @shortcuts @slorber |
enjoy! |
Ah yes, this is easy to miss 😅 It's not the first time someone reports updating the config and getting no improvements. Now I understand and will be able to guide our users better. I guess it could be worth it to write a troubleshooting section in ours docs? Can the index be updated manually instead of delete/recreate? I guess some will not like this idea and would prefer an incremental index upgrade? |
Sure, you have access to a |
I guess, that need add into docs somewhere |
is it documented in the Crawler documentation https://www.algolia.com/doc/tools/crawler/apis/configuration/initial-index-settings/ but indeed we should reference it in the DocSearch documentation |
EDIT: see Troubleshooting section added to our docs here: https://docusaurus.io/docs/search#algolia-troubleshooting No search result?For anyone passing by, if you don't get any Algolia search results:
See also: #10007 (comment) |
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
website: https://pulsar.apache.org/
error search display demo: https://pulsar.apache.org/search/?q=k8s
The result of the search can not be displayed correctly on the full search page and get an error, but it can be displayed correctly in the dialog view
Error detail:
Reproducible demo
https://github.com/apache/pulsar-site
Steps to reproduce
git@github.com:apache/pulsar-site.git
k8s
See all 10 results
Live reproduction:
http://localhost:3000/search/?q=k8s
Expected behavior
The result of the search can be displayed correctly on the full search page
Actual behavior
website: https://pulsar.apache.org/
error search display demo: https://pulsar.apache.org/search/?q=k8s
The result of the search can not be displayed correctly on the full search page and get an error, but it can be displayed correctly in the dialog view
Error detail:
Your environment
Self-service
The text was updated successfully, but these errors were encountered: