Header DocSearch Module #794
Replies: 3 comments 6 replies
-
Hi Razon, I want to implement custom Algolia Search but I cannot understand whole picture, how to integrate it to current "header"; how to make "Search Ctrl K" in the header to open popup window. Could you please provide path I can follow to implement this widget as "hbstack" module? Thanks |
Beta Was this translation helpful? Give feedback.
-
Some screenshots, ![]() ![]() ![]() ![]() Last one, "Budget price", has scrollbar; it shows indexed KaTeXX formula snippet too. |
Beta Was this translation helpful? Give feedback.
-
I implemented it for UltimateLexicon.com - English & Beyond, just a dictionary (I am going to make it open source project soon) It took 24 minutes to build locally (over 200k pages), and few hours to upload to CDN. Algolia index size: 3,500,000 approximately. I wrote small Java application which uploads index in small batches; I could not upload large 2.3Gb JSON file. I believe I messed up with index; I have experience with SOLR, I do not have to create separate entry per document subsection; I think I'll tune it more later, maybe separate entry per Heading Level 1,...6 and "content" will be just snippet under heading (currently it is whole doc) then probably it would work much better. It works! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Header DocSearch Module
DocSearch is a free online search service for open source documentation sites.
https://hbstack.dev/modules/header/docsearch/
Beta Was this translation helpful? Give feedback.
All reactions