Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Score ¶
Score calculates fuzzy match score for a query against text Higher score is better. Returns 0 if no match.
Algorithm: - Consecutive character matches get bonus points - Case-sensitive matches get bonus points - Matches at word boundaries get bonus points - Earlier matches get higher scores.
Types ¶
Click to show internal directories.
Click to hide internal directories.