EloquentStudio / filter.js

Complete solution for client side filtering and rendering using JSON data
http://eloquentstudio.github.io/filter.js
MIT License
665 stars 183 forks source link

multi word search instead of string search #176

Open Oscaridiji opened 5 years ago

Oscaridiji commented 5 years ago

multi word search instead of string search, we can do something with this????? THANKS

sahilbhatia commented 5 years ago

@Oscaridiji - can you please explain your use-case with the help of an example?

Are you looking for something like this:

When you search for "one" against "One times two plus one equals three.", output should be: ["One", "one"]

btnevan commented 5 years ago

Example of what I'm looking to do....If I enter "strawberry smoothie", filtered results should include "strawberry banana smoothie recipe". But since banana is in between the two words, it's not included.

Oscaridiji commented 5 years ago

this is already fixed, now I want to sort by price, how would it be done? Thanks so much!