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

Bugfix documentVector #180

Closed mientjan closed 9 years ago

mientjan commented 9 years ago

code assumed object always had property defined in documentRef. When this was not the case it would break the loop.

olivernn commented 9 years ago

I've pushed a fix for this in the latest version 0.6.0, let me know if you are still seeing problems, thanks!