8 ms·
Add my own search engine?
by reactspa 4y ago
Add my own search engine?
- true_religion 4y agoYeah. You could index the notes or just the titles in FuseJS then implement a UI to search and show results. https://fusejs.io/ https://fusejs.io/
- Alamantus 4y agoI'm getting close to finishing the extension/plugin functionality for Feather Wiki, and I was able to successfully write a search extension using Fuse.js! The plugin will be included on the website when the new version with the extension support is ready :)
- AMICABoard 4y agoUnfortunately with respect to Feather Wiki, fuse.min.js is too large (23KB) :) But the fuzzy search is a good idea. If you find a very tiny js search lib, please post it here on HN or here: https://codeberg.org/Alamantus/FeatherWiki/issues https://codeberg.org/Alamantus/FeatherWiki/issues
- reactspa 4y agoI did note your ":)", and I agree that compared to a total of 63kb, a 23kb addition can be quite large, but search is too important a feature, and I think it will be worthwhile. Thank you to the GP for the suggestion to use https://fusejs.io https://fusejs.io I wasn't aware that it's easy to implement one's own search engine.