When I decided to move to a static (well, generated) html page for my personal website I read a lot of material on pelican, the tool I use to produce/render this site. So I also read about various possibilities to make the content searchable. Since I try to keep all traffic on this website local (if you find any resource being pulled from a third party server, please get in touch!), I was more interested in techniques that follow this directive rather than using one of the big search engines to index the content here.
It took me a while (for various reasons that are not worth being explained here) to finally implement Tipue Search here, but it’s done now! You can read all about it on their website, but I will give you a short primer here.
Tipue Search integrates very well with pelican (there is a Tipue Search plugin available at github) and is also relatively easy to hack into an existing theme. All I had to do is adjust the base.html template and add a search.html template that displays the results.