DevProgress / csv-simple-search

Generic Search and Export Tool for .csv files
Apache License 2.0
6 stars 3 forks source link

Search for multiple keywords #51

Closed decause closed 8 years ago

decause commented 8 years ago

The search works great for single words, but it would be even more useful if we could search on multiple words just by putting a 'space' in between each. For example:

If I search for "NV" I get Lucky's Tasty Viddles. If I search for "Viddles" I get Lucky's Tasty Viddles. If I search for "NV Viddles" I get zero results.

I have updated the default.csv to include Multiple entries for "Flowers" in NV, so that we can test results by searching for "NV Flowers" and seeing if both "Lucky's" and "Deluxe" entries show up. :)

kahneraja commented 8 years ago

Will add this together today / tomoz.

alexyaseen commented 8 years ago

So this should be an AND search by default?

decause commented 8 years ago

@kahneraja yes, defaulting to an "AND" query should work

samuelcole commented 8 years ago

i'm going to start work on this right now, if no one else is already working on it