HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.2k stars 2.9k forks source link

Empty Algolia search results #2719

Closed micahwoods closed 2 years ago

micahwoods commented 2 years ago

Describe the bug

After generating an index.json and uploading as an index to Algolia, then identifying that index in params.yaml, the search bar does not show any results from that index.

To Reproduce

  1. A minimum working example, from a new academic resume template at: https://symphonious-clafoutis-661062.netlify.app/

  2. Click on the search and search for "wowchemy" or "hugo"

  3. nothing is returned

Expected behavior

I expected to see search results returned that matched search terms such as "wowchemy" or "hugo". The built-in search returns results for those queries. When search is set to algolia, the search return was blank.

Technical details:

Code at: https://github.com/micahwoods/mwe-search

After creating the new site using the quick start for the Academic Resume template, I cloned the repository from GitHub to my machine, ran hugo to generate the site and the index.json, uploaded the index.json to Algolia and created an new index, and then updated the search information in params.yaml and pushed that commit

Wowchemy version from the go.mod: github.com/wowchemy/wowchemy-hugo-modules/wowchemy/v5 v5.0.0-20220423180919-17d5d3f0ca43

Results of hugo version: hugo v0.95.0-9F2E76AF+extended linux/amd64 BuildDate=2022-03-16T14:20:19Z VendorInfo=gohugoio

This is on Ubuntu 20.04.4 LTS with the same behavior on Firefox 100.0.2 and on Brave [Version 1.38.119 Chromium: 101.0.4951.67]

github-actions[bot] commented 2 years ago

This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the main branch, consider contributing a Pull Request with a fix.

If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.

This issue will automatically close soon if no further activity occurs. Thank you for your contributions.

ekutner commented 2 years ago

This is still an issue and I have it too. There are no requests going out to the Algolia service and I couldn't find anywhere where it was actually binding to the search box.

micahwoods commented 2 years ago

I still have the issue and have not found a solution. If and when I find a solution, I will describe it here.

anirbanbasu commented 2 years ago

I have also replicated the problem on my experimental site: https://anirbanbasu.netlify.app/. The public site live at https://www.anirbanbasu.com does not have this problem because it uses the wowchemy and not the algolia search provider.

YimingZhang07 commented 1 year ago

Hello, I think this problem persists, and can anyone advises on this?