orama
orama copied to clipboard
Sequential match priority
Is your feature request related to a problem? Please describe. As for now, Lyra performs searches on individual tokens.
So for example, if I have the following documents:
"Hello everyone here. My name is Michele""Hello Michele"
When searching for the term "Hello Michele", there's still a chance to get the first document. We should take into account that we want to find the documents and tokens in a precise order
For future me: I would consider the possibility of using an n-gram algorithm for that. Index size will increase, but it might be worth it.
I know how this is gonna end
