Skip to content

Improvements to ranking

Created by: eugeniaft

Currently, results are ranked by the number of stars in a repository and are subsequently ranked within each repository using zoekt ranking. We have heard from users that current ranking heuristics are not always effective, potentially leading users to spend time finding desired results, for instance by having to modify queries to add filters to help refine results. After initial user research and feedback gathering, in this quarter we are proposing enhancements to our ranking heuristics including: uprank exact file match/repo match, uprank results based on type (uprank class and function definition first before comments), use another proxy of relevance/usage for repository ranking than repository stars.