Live data from Hacker News

Viewing profile — olivernn

olivernn

HN member
Joined
Thu, Dec 09, 2010, 2:27 PM UTC
HN karma
175
Public activity
20 items

About olivernn

No profile information was provided.

Recent public activity

  1. comment
    Comment #42542900

    Many years ago, when I was building Lunr, it was initially based on IndexedDB, but it was _much_ slower and the datasets I had in mind easily fit in memory so I didn’t pursue it. N…

  2. story
  3. comment
    Comment #14807545

    Using `charCodeAt()` for numeric keys is an interesting optimisation, I'm definitely going to try that out with Lunr.js. I'm also interested in _why_ that is quicker though, aren't…

  4. comment
    Comment #14807283

    Lunr.js [1] used to use a trie data structure and memory usage was a concern. The problem is that although the data structure compresses prefixes, it does nothing for suffixes. Dep…

  5. comment
    Comment #10410043

    The last time this article was on HN I took a look at adding Okapi BM25 to lunr, from what I remember the changes don't seem to huge, its just a matter of getting the time to sit d…

  6. comment
    Comment #10410035

    I'm fairly sure elastic lunr is a fork of lunr, I still seem to have the most commits even! [1] I'll have to take a look and see what @weixsong added, perhaps there are some change…

  7. story
  8. comment
    Comment #9530871

    I've come across these two: * http://reyesr.github.io/fullproof/ * http://www.tipue.com/search/ Might be interesting to see how these also stack up.

  9. comment
    Comment #9527841

    Nice. It'd be interesting to see the comparative performance of the three libraries under test, e.g. time to results and possibly memory usage.

  10. comment
    Comment #7131369

    Who'd have thought the most English looking location would be in Wales ;)

  11. story
  12. comment
    Comment #5321159

    Why is it a red flag for a browser-based javascript library to require a browser for testing?

  13. comment
    Comment #5320551

    That is almost exactly what lunr is doing. It tokenises the input text, stems the tokens and filters out any stop words. The index it can be searched, the order is not relevant, a …

  14. comment
    Comment #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 th…

  15. comment
    Comment #5319270

    The example ( http://lunrjs.com/example/ ) indexes 100 stackoverflow questions, some of which are relatively long. If indexing performance starts to become an issue the whole searc…

  16. story
  17. story
  18. story
  19. comment
    Comment #2395801

    I have a similar library here http://bit.ly/fTj2Ls that uses pushState to provide a routing layer so you can handle perform ajax (or anything else you want to do) when a link is cl…

  20. story