-
Notifications
You must be signed in to change notification settings - Fork 5
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
Implement substring search feature #166
Conversation
Added fuzzy search functionality to the existing find command. This enhancement allows for more forgiving search queries, improving user experience by returning relevant results even when the search term isn't an exact match.
Implemented Fuzzy search so users can easily search within the system even if the user mistype a few words, so that.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #166 +/- ##
============================================
- Coverage 77.23% 77.01% -0.22%
- Complexity 513 515 +2
============================================
Files 75 75
Lines 1603 1597 -6
Branches 143 143
============================================
- Hits 1238 1230 -8
Misses 337 337
- Partials 28 30 +2 ☔ View full report in Codecov by Sentry. |
src/main/java/seedu/address/model/person/PersonMatchesKeywordsPredicate.java
Outdated
Show resolved
Hide resolved
src/main/java/seedu/address/model/person/PersonMatchesKeywordsPredicate.java
Outdated
Show resolved
Hide resolved
Implemented Fuzzy search so users can easily search within the system even if the user mistype a few words, so that and added tests to test fuzzy functionality.
bc823f1
to
92daf4a
Compare
81b1f7f
to
a5dc75a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall, perhaps check two nits.
Implemented substring search to replace the previous keyword search feature. Search is now more forgiving with whitespaces, allowing partial matches.
Closes #19