Oliver Nightingale
Oliver Nightingale
I think `execjs` is probably the right way to go. Maybe there is room for a specific lunr-generate command line tool? Something like the following: ``` $ lunr-generate --fields title:10,body...
I’m a fan of TypeScript, and if I were starting lunr _now_ I would definitely write it in TypeScript, that said I’m wary of converting the current code base over...
Could you post a reproduction somewhere like [jsfiddle](https://jsfiddle.net)? It's difficult to say why you are getting those results without seeing how the index was defined and without the actual data....
Thanks for the fiddle, makes it much easier to figure out what is going on. Looking at the results, both documents have the same score, which would be unexpected, but...
I'm going to close this issue now as I don't think there is anything that needs to be done in Lunr. Feel free to leave a comment if you have...
Yeah, that is weird, I wouldn't have expected those results given those documents, I'll take a closer look...
I've poked around at the data in the index you provided to try and understand the results you are getting. I *think* the problem is due to term saturation, I'll...
@imaustink @chasenlehara thanks for taking the time to help with this issue, its a real help! I think the first step is to get a reduced test case. Without that...
In the past people have put together reproductions with jsfiddle. The ideal would be having an index with a single document and a query that triggers the bug. An example...
@Julinar interesting, so you're workaround was to prevent empty searches? Was this what was causing the issue. As I mentioned earlier in the issue, without more details to go on,...