I started a little project for search functionality built on Fuse based on the Gist by Craig Mod. I realize this is definitely not the first time someone has proposed something like this, but I would like for you to have a look and tell me what you think. It’s still very much a work in progress, but you should be able to install it into your Hugo theme and try it out!
It does work by generating and index.json, that’s right.
Currently, the generation of this file is not implemented very sophisticatedly, and it includes the full page contents. So, it will grow quite large with more and larger pages. The generation script can be easily changed, though.
Just including the summary for this page rather than the full text would probably be a good option to add in.
The plan is to expand this project to have a lot of configuration options, but we need time.
@kaushalmodi Thank you!
The github page you refer to does not explain how to trigger the search
Does your solution use the same keyboard shortcuts? (which are unfortunately unusable out of Mac keyboards)