From 58b717c00868afeb8b93287994f072ceaa87810f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=98=E9=9F=AC=20=E5=BC=A0?= Date: Fri, 29 Jan 2021 17:31:52 +0800 Subject: [PATCH] Update summary --- Flow.Launcher.Infrastructure/StringMatcher.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/StringMatcher.cs b/Flow.Launcher.Infrastructure/StringMatcher.cs index 3777c6811..e332aeeef 100644 --- a/Flow.Launcher.Infrastructure/StringMatcher.cs +++ b/Flow.Launcher.Infrastructure/StringMatcher.cs @@ -31,7 +31,20 @@ namespace Flow.Launcher.Infrastructure } /// - /// Current method: + /// Current method includes two part, Acronym Match and Fuzzy Search: + /// + /// Acronym Match: + /// Charater lists below will be considered as Acronym + /// 1. Character on index 0 + /// 2. Character appears after a space + /// 3. Character that is UpperCase + /// 4. Character that is number + /// + /// Acronym Search will match all query when meeting with Acronyms in the stringToCompare + /// If any of the character in Query isn't matched with the string, Acronym Search fail. + /// Score will be calculated based on the number of mismatched acronym before all query has been matched + /// + /// Fuzzy Search: /// Character matching + substring matching; /// 1. Query search string is split into substrings, separator is whitespace. /// 2. Check each query substring's characters against full compare string,