Closed Grigory-Volkov closed 6 years ago
@brianreavis ?
Can you add matching tests?
Came here to suggest the same thing. I've submitted a pull request for a more robust implementation based on word boundaries, rather than whitespace. Includes tests and documentation.
Closing in favor of https://github.com/brianreavis/sifter.js/pull/51
Hello! It will be good upgrade, if you accept this)
Вecause you can do following:
.search('be', {fields: ['title'], firsts: true})
And get result: "Beline", "Cool besness" Not this one: "Izbergamo"Thanks :)