Closed gerwitz closed 5 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
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