mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-02 07:04:33 +00:00
Previously, search results were sorted solely by candidate_id (preserving original order from the database), which could result in less relevant matches appearing before better ones. This change sorts results primarily by fuzzy match score (descending), with candidate_id as a tiebreaker for equal scores. This ensures that better matches appear first while preserving recency order among items with identical scores. Example improvement: - Searching for 'pica' will now rank 'picabo' higher than scattered matches like 'project-api, project-chat' - Consecutive character matches are prioritized over scattered matches across multiple path segments Release Notes: - Improved project search relevance by ranking results using match score instead of insertion order. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| LICENSE-GPL | ||