gerwitz / hgc-v11

A deprecated version of hans.gerwitz.com
4 stars 0 forks source link

Native search index #5

Closed gerwitz closed 5 years ago

gerwitz commented 6 years ago

middleman-search uses a javascript environment to build the lunr.js index. That's silly, let's try to build it within Middleman.

Jekyll plugin does this, it seems? https://stackoverflow.com/questions/23672294/jekyll-search-with-jekyll-lunr-js-search-not-loading-full-body-in-search-json

https://github.com/ngs/middleman-blog-similar might have inspiration

And this is a leading contender for generating the index words: https://github.com/jpmckinney/tf-idf-similarity