NLeSC / software.esciencecenter.nl

eStep website with projects software and people.
http://software.esciencecenter.nl
Other
4 stars 3 forks source link

add Lunr search to all of the website #151

Closed wrvhage closed 8 years ago

wrvhage commented 8 years ago

If this does not scale, try pre-indexing. Otherwise, add new issue for server-side index.

sverhoeven commented 8 years ago

On my laptop it takes about 700ms in Chrome to fetch the index.json and create lunr indexes from it.

sverhoeven commented 8 years ago

If loading takes too long we could use Web workers (see http://renditionprotocol.blogspot.nl/2014/02/first-attempt-at-web-worker-for-lunarjs.html) to create lunr indices in the background.

sverhoeven commented 8 years ago

Or switch to http://elasticlunr.com/, they themselves say they are faster than lunr.js .

Maartenvm commented 8 years ago

We have now implemented this using regexp, for filtering. Lunr is not needed IMO.