News for hackers. Stuff that matters.
Re:Lunr.js - Simple full-text search in your browser by piranha on Monday March 04, 2013 @12:22PM (#5319234)
Maybe you can create index on the server and then just load it on a client?

edit: looking at the docs it's unclear if it's possible. I guess index should be a JS object, so it's pretty simple to save it to a disc and then fetch it from client.

Re:Lunr.js - Simple full-text search in your browser by olivernn on Monday March 04, 2013 @12:29PM (#5319280)
Since the library can be run outside of the browser (using node.js for example) the index could be generated server side, and then just passed to the client. I hadn't considered this before but it might be worth looking at.