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

Search results improvements and added functionalities. #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

herronelou
Copy link

Refined filtering of search results:

  • Consecutive finds are weighted higher than non-consecutive
  • '*' disables anchoring ('*blur' will return 'blur' and 'motionblur')
  • '**' forces results to be un-anchored ('**blur' will return 'motionblur' but not 'blur')
  • using '[' as the first character now also disables anchoring (previously would return nothing)
  • using ' ' (double space) still becomes '['
  • using ' ' (space) still disables non-consecutive search.

Improving results of the search by doing:
- First show direct matches (weighted)
- Second Show nonconsecutive anchored matches (weighted)
- Third Show nonconsecutive non-anchored matches (weighted)
The consecutive name search now ignores special characters (space, -, _)
Refined filtering of search results:
- Consecutive finds are weighted higher than non-consecutive
- '*' disables anchoring
- '**' forces results to be un-anchored ('**blur' will return 'motionblur' but not 'blur')
- using '[' as the first character now also disables anchoring
- using '  ' (double space) still becomes '['
- using ' ' (space) still disables non-consecutive search.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant