fix(scriptindex): Improve script search: use ObjectSorter with weighted results prioritizing slug and name

This commit is contained in:
2025-10-29 01:23:04 +00:00
parent 46f82d2b65
commit eda652994d
3 changed files with 31 additions and 17 deletions

View File

@@ -1,5 +1,13 @@
# Changelog
## 2025-10-29 - 1.5.1 - fix(scriptindex)
Improve script search: use ObjectSorter with weighted results prioritizing slug and name
- Replaced smartfuzzy.FuzzyMatcher with smartfuzzy.ObjectSorter for multi-field fuzzy searching
- Search now runs across slug, name, and description fields
- Added weighting so slug matches are prioritized, name matches receive a medium boost
- Search returns ordered script objects based on adjusted score
## 2025-10-29 - 1.5.0 - feat(scripts)
Add fuzzy search and type filtering for community scripts; improve scripts CLI output and cache handling