mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-13 17:44:56 +08:00
Some adjustments to improve admin search results: - trim filter phrase and remove multiple spaces - score for partial label match: "the" should find "Theme and Components" - partial keyword score: "custom field" should find "custom fields" - for keyword and fallback searches, ensure the keyword has at least 3 character to not be flooded by "the", "a", "and" etc. <img width="728" alt="Screenshot 2025-05-30 at 1 52 38 pm" src="https://github.com/user-attachments/assets/4d97800d-6ec1-4a54-8ea5-78ceb75b93b8" /> <img width="730" alt="Screenshot 2025-05-30 at 1 52 46 pm" src="https://github.com/user-attachments/assets/ca7baa4e-f19e-4512-ab35-63e594a571cc" /> <img width="733" alt="Screenshot 2025-05-30 at 1 52 54 pm" src="https://github.com/user-attachments/assets/7f5ea85b-11ca-4f59-a564-72364d2a65be" /> <img width="721" alt="Screenshot 2025-05-30 at 1 56 18 pm" src="https://github.com/user-attachments/assets/eb42a293-f14b-4bfa-ad6b-9f63b5fe3303" /> |
||
|---|---|---|
| .. | ||
| addon | ||
| app | ||
| .npmrc | ||
| ember-cli-build.js | ||
| index.js | ||
| package.json | ||