mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-17 09:58:28 +08:00
This change does a couple of things. Change in behaviour: - Matches on the site setting name and keywords now get a higher ranking in search results. - When counting gaps for ranking fuzzy matches, we no consider the smallest number of gaps. Code organization: - Extract a separate SiteSettingMatcher object for the matching logic. - Flatten some conditionals to make control flow clearer. - Higher weight now means higher in search results. |
||
|---|---|---|
| .. | ||
| constants.js | ||
| hex-to-rgba.js | ||
| setting-object-helper.js | ||
| site-setting-filter.js | ||
| site-setting-matcher.js | ||
| template-form-fields.js | ||