Closed lz000 closed 6 years ago
Could you take a look at #279 and tell me if it is similar to your issue? Also, if you could put together a reproduction somewhere like jsfiddle that would be a great help.
Yes it is similar. I can confirm that the following code can work around the issue.
lunr(function () {
this.pipeline.remove(lunr.trimmer)
})
Ok, I'm going to close this as a duplicate of #279, if you have any more questions/suggestions please comment on that issue.
I have an array of 100000+ objects indexed
When I do wildcards search
index.search(query + '*');
, some queries give error "TypeError: Cannot read property '_index' of undefined", others not.But so far as I tested, the queries that failed on wildcards search work on fuzzy matches
index.search(query + '~1');
The version I'm using is 2.1.4.Any idea why this is happening?