From 0fa2532d3ce1cb60df669b862fc1346eb25006e7 Mon Sep 17 00:00:00 2001 From: Eddie Webb Date: Mon, 5 Mar 2018 17:14:29 -0500 Subject: [PATCH] Remove deprecated Hugoidx, add native hugo solution - Removed HugoIDX which is listed as deprecated >This project has been retired >This project has been retired due to upstream API changes in Hugo. - Adds example gist for client side searching with jquery, fuse.js. Requires no additional build-time process/workflow/tools except hugo! --- content/tools/search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/tools/search.md b/content/tools/search.md index d39665130..4d5779b9b 100644 --- a/content/tools/search.md +++ b/content/tools/search.md @@ -20,10 +20,10 @@ toc: true A static website with a dynamic search function? Yes. As alternatives to embeddable scripts from Google or other search engines, you can provide your visitors a custom search by indexing your content files directly. -* [Hugoidx](https://github.com/blevesearch/hugoidx) is an experimental application to create a search index. It's built on top of [Bleve](http://www.blevesearch.com/). * [GitHub Gist for Hugo Workflow](https://gist.github.com/sebz/efddfc8fdcb6b480f567). This gist contains a simple workflow to create a search index for your static website. It uses a simple Grunt script to index all your content files and [lunr.js](http://lunrjs.com/) to serve the search results. * [hugo-lunr](https://www.npmjs.com/package/hugo-lunr). A simple way to add site search to your static Hugo site using [lunr.js](http://lunrjs.com/). Hugo-lunr will create an index file of any html and markdown documents in your Hugo project. * [hugo-lunr-zh](https://www.npmjs.com/package/hugo-lunr-zh). A bit like Hugo-lunr, but Hugo-lunr-zh can help you seperate the Chinese keywords. +* [Github Gist for Fuse.js integration](https://gist.github.com/eddiewebb/735feb48f50f0ddd65ae5606a1cb41ae). This gist demonstrates how to leverage Hugo's existing build time processing to generate a searchable JSON index used by [Fuse.js](http://fusejs.io/) on the client side. Although this gist uses Fuse.js for fuzzy matching, any client side search tool capable of reading JSON indexes will work. Does not require npm, grunt or other build-time tools except Hugo! ## Commercial Search Services