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

Error indexing an empty string #176

Closed dlopezp closed 9 years ago

dlopezp commented 9 years ago

Error is raised in function lunr.Index.prototype.documentVector when an empty string is indexed.

PR #177

olivernn commented 9 years ago

Closing this issue, lets discuss over on your pull request