I was working on client side searching in an ember application. The requirements was very simple, consider the following array of strings,
and I search for the query
, I should get the following as output.
But, if I search for
, I should get the following as output,
So clearly, it was keyword based searching.
I ended up finding just the right library, lunr.js. I wanted it to work with my ember model’s very robustly. So I ended up creating a ember-addon for it and named it (according to the pseudo addon naming convention) as ember-cli-lunr.
Hope you all find this addon useful in your ambitious search applications. And please help me make this ember addon better by submitting PR, feature request, issues or just a thank you (your appreciation moves me forward).