Fortunately, a lot of smart people are churning out interesting new tools and technologies, and still other smart people have solved my particular problem and documented their solutions.
Some time ago, I ran across a series of blog posts written by Aaron Powell. Like
me, he uses
hugo to generate his blog pages, and he, too, wanted to have search available on his site. He then set out to use the
new-at-the-time Blazor WebAssembly
technology with Lucene.NET to make his site searchable.
I won’t rehash everything here, as Aaron did a fabulous job documenting the steps. Plus, his blog’s repository is open source, so you can see changes and updates he has made. If you’re interested in adding something similar to your site, these posts are a great jumping off point:
- Implementing Search in Blazor WebAssembly With Lucene.NET
- Can You Use Blazor for Only Part of an App?
- Optimising Our Blazor Search App
Please try the new search, and let me know if you have any questions.