-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved performance / utility of fuzzy matcher and scorer
Made somewhat significant changes to the fuzzy matcher to improve performance and relevance of the results. I found that the matcher was returning a ton of results when it was returning references to things, so I pared it down to only consider definitions, which seems to improve the relevance of results a lot. I also only had it return definitions in one of the current project's applications, as searching your dependencies for a definition didn't seem to be a common use case. The fuzzy matcher also now considers the type of the entry being indexed when it builds the subject. This gives us much nicer and more relevant search results, and gives us the ability to tune them more specifically in the future.
- Loading branch information
Showing
10 changed files
with
290 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.