Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delimiter based filtering enhancement #897

Open
naspinski opened this issue Apr 26, 2017 · 1 comment
Open

Delimiter based filtering enhancement #897

naspinski opened this issue Apr 26, 2017 · 1 comment

Comments

@naspinski
Copy link

ENHANCEMENT REQUEST

Filtering is incredibly useful, but I was curious if it could be extended a bit. I was thinking a delimiter based filtering system that could be initialized like this:
enableDelimiterBasedFiltering: [',',' ', ';']

And now something such as searching for cat ball or ball,cat would then return the following filtered results:

  • the cat ran after the ball
  • the ball was thrown to the cat

As it would iterate through each string looking for a contains. I am not sure how this may affect performance though on larger sets - thoughts?

Great plugin by the way!

@davidstutz
Copy link
Owner

Sounds interesting, I am considering allowing a hook in the filtering mechanism (also see #408 #803 #877). Then this could be implemented using a custom hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants