Closed jona closed 11 years ago
I assigned field using: lunr.Index.prototype.field()
Then I call this function: lunr.Index.prototype.add()
And one of the fields is null, i get this error. Shouldn't it know if the field is null and exclude it from the the index?
Thanks!
Thanks for reporting this, I've just created a new release, 0.4.3, which includes a fix for this issue.
I assigned field using: lunr.Index.prototype.field()
Then I call this function: lunr.Index.prototype.add()
And one of the fields is null, i get this error. Shouldn't it know if the field is null and exclude it from the the index?
Thanks!