dannydan412

Results 7 comments of dannydan412

Hi Oliver, Thanks for getting back to me so quickly! Just to clarify - the current problem with lunr.js is that if I search for a phrase such as '"Hello...

The n-grams sounds like an interesting solution. Isn't using the pipeline too late though in this case? It operates on tokens, so anything I add to the pipeline would operate...

Isn't it too late to add tokens to the list when the pipeline function gets called? The parent method won't iterate through these newly added objects and so they never...

The problem is in this case I want the index to contain: "Quick", "Brown", "Fox", "Quick Brown", "Brown Fox" And the pipeline can only return a single token.

You've been extremely helpful! I was able to achieve a similar result by modifying the tokenizer.

Let me clean up the code a little bit and I'll post it here. Here's a snippet from the quick and dirty version: https://gist.github.com/dannydan412/8564158

Hey Oliver, Have you considered adding fuzzy matching support to lunr?