{"action":"created","issue":{"url":"https://api.github.com/repos/greghendershott/frog/issues/146","labels_url":"https://api.github.com/repos/greghendershott/frog/issues/146/labels{/name}","comments_url":"https://api.github.com/repos/greghendershott/frog/issues/146/comments","events_url":"https://api.github.com/repos/greghendershott/frog/issues/146/events","html_url":"https://github.com/greghendershott/frog/issues/146","id":108908848,"number":146,"title":"Feature wish: Add a search function (this is a race ;-))","user":{"login":"dertuxmalwieder","id":125629,"avatar_url":"https://avatars.githubusercontent.com/u/125629?v=3","gravatar_id":"","url":"https://api.github.com/users/dertuxmalwieder","html_url":"https://github.com/dertuxmalwieder","followers_url":"https://api.github.com/users/dertuxmalwieder/followers","following_url":"https://api.github.com/users/dertuxmalwieder/following{/other_user}","gists_url":"https://api.github.com/users/dertuxmalwieder/gists{/gist_id}","starred_url":"https://api.github.com/users/dertuxmalwieder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dertuxmalwieder/subscriptions","organizations_url":"https://api.github.com/users/dertuxmalwieder/orgs","repos_url":"https://api.github.com/users/dertuxmalwieder/repos","events_url":"https://api.github.com/users/dertuxmalwieder/events{/privacy}","received_events_url":"https://api.github.com/users/dertuxmalwieder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-29T16:39:47Z","updated_at":"2015-09-29T20:34:21Z","closed_at":null,"body":"Hi,\n\n\n(sorry, this one will be longish, but I want to make my points clear…,)\n\n\nhaving been in the process of transitioning from WordPress to some static (not just flat-file) blog for years now (I’m *really* lazy), I still haven’t settled to which system to use. Actually, I had found one which I thought would be perfect, then I noticed that the provided solution for searching articles was not working as intended, especially since there was no way to use it without JavaScript. The most important feature of a blog system **is** a good search functionality, followed by a decent comment solution (but that’s a different thing).\n\n\nSo I’m back on track, looking for *the perfect* static blog solution. I already have a list of such systems which failed to work well for me (mostly theming- or feature-related issues), so I loosened my requirements a bit. I don’t even care which programming language is used anymore as long as it *just works* (as in *it provides a good search function*) and it’s a cool one (as in *it’s not JavaScript*).\n\n\n**Now here’s what I want:**\n\n\nThe *perfect* static blog solution should, while generating the pages, keep some *full-text index* of the posts and provide a search function which could be accessed through the front-end (like the article listing but filtered by contents). In case this is already possible, please tell me how - I actually searched the docs *and* sources but I haven’t found such a functionality.\n\n\nAs I want you to actually consider this - I know - frequent feature wish within the near future, I posted it to several interesting generators’ issue trackers, including yours. I’ll probably use the Static Site Generator which comes up with a sufficient search functionality first.\n\n\nThank you in advance.\n\n"},"comment":{"url":"https://api.github.com/repos/greghendershott/frog/issues/comments/144183796","html_url":"https://github.com/greghendershott/frog/issues/146#issuecomment-144183796","issue_url":"https://api.github.com/repos/greghendershott/frog/issues/146","id":144183796,"user":{"login":"greghendershott","id":265119,"avatar_url":"https://avatars.githubusercontent.com/u/265119?v=3","gravatar_id":"","url":"https://api.github.com/users/greghendershott","html_url":"https://github.com/greghendershott","followers_url":"https://api.github.com/users/greghendershott/followers","following_url":"https://api.github.com/users/greghendershott/following{/other_user}","gists_url":"https://api.github.com/users/greghendershott/gists{/gist_id}","starred_url":"https://api.github.com/users/greghendershott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greghendershott/subscriptions","organizations_url":"https://api.github.com/users/greghendershott/orgs","repos_url":"https://api.github.com/users/greghendershott/repos","events_url":"https://api.github.com/users/greghendershott/events{/privacy}","received_events_url":"https://api.github.com/users/greghendershott/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T20:34:21Z","updated_at":"2015-09-29T20:34:21Z","body":"Well, I'm assuming that most people choosing to use a static blog generator, who don't want to run an HTTP server, would also not want to run some index query server. At least, I'd be in that camp.\r\n\r\nI was hoping that one would run the indexer after rebuilding the blog, and it would produce some sort of \"database\" file(s), that the JS could read and use to do fast queries.\r\n\r\nAgain I know little about full-text search, and I only scanned the tipue docs very quickly. But it looks like its Static Mode wants JSON data in a `tipuesearch_content.js` file: <http://www.tipue.com/search/docs/?d=1>. What's missing is a command line tool to go through .md and .scrbl source files -- or possibly the output html files? -- and generate this data.\r\n\r\nI don't know, what do you think?\r\n\r\n"}}