olivernn / lunr.js

A bit like Solr, but much smaller and not as bright
http://lunrjs.com
MIT License
8.96k stars 548 forks source link

lunr.index.search throws TypeError when searching for "javascript foo". #12

Closed mcnerthney closed 11 years ago

mcnerthney commented 11 years ago

Here's a jsfiddle that shows this exception. http://jsfiddle.net/bmY5L/6/

Is this a bug?

olivernn commented 11 years ago

I've just pushed a new version, 0.2.3, with a fix for this problem.