Files
oak-gpui/crates
tsjason 1e70a1a4ce Improve recent projects search result ordering (#38795)
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.
2025-09-29 17:15:47 +02:00
..
2025-09-18 16:47:23 +00:00
2025-09-08 21:53:17 -06:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-03 22:10:14 +00:00
2025-09-26 11:41:26 -04:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-18 16:47:23 +00:00
2025-09-17 10:47:09 +00:00
2025-09-26 11:41:26 -04:00
2025-09-24 02:19:52 -06:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-25 14:42:32 -07:00
2025-09-25 14:42:32 -07:00
2025-09-08 21:53:17 -06:00
2025-09-22 14:36:10 -07:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-24 16:03:08 +00:00
2025-09-26 11:41:26 -04:00