kube-hunter
kube-hunter copied to clipboard
Add content search for the KB
Currently the search is more like a lookup, where you can lookup an article by it's ID. We need a full text search to allow people to search for content freely.
Can we run some backend logic on GitHub pages to do that? What is the common way to do this on that platform?
No. We can do client side, or server side hosted as a service. There are several of those that work with Jekyll like algolia/lunr just to give an example
how about something like this
see my comments on the PR
I think it would be best to use some external search indexing service. One option is Google custom search. It's free but ad supported. Another is Algolia which is free for not-commercial project which I guess we qualify.
That sounds overkill, this seems a more appropriate solution if possible: http://elasticlunr.com/
@RaitoBezarius if that can support full text indexing (of the content) that's an option too