Rethinking search results ranking on Sourcegraph.com
No items found.
November 8, 2022
When I joined Sourcegraph just eight weeks ago, I made various predictions and proclamations about how we were going to revolutionize scalable code search, navigation, and understanding with Sourcegraph’s code intelligence platform (CIP). Today we’re releasing our first big steps on that path.
Every day, more code is written, more code complexity piles up, and more people write their first line of code.
That means Sourcegraph is needed more and more each day. People need to understand their code, but dev tools today haven’t been capable of truly doing that at scale in the ways we need.
Announcing Search Ranking and Relevance
I’m thrilled to announce that Sourcegraph has launched PageRank-driven Code Search result rankings that prioritize relevance and showing reusable code. This launched today for searches on popular OSS repos on https://sourcegraph.com, and we are working to bring ranking to private Sourcegraph deployments soon.
This launch ushers in a new era of search-result relevance, helping you find the code you’re looking for on the first try.
Sourcegraph’s new search ranking uses a rendition of the Google PageRank algorithm on source code, powered by the code symbol graph from our sophisticated code intelligence platform (CIP).
Code Search is now relentlessly focused on helping you find relevant answers. Consider this comparison from an early run, with non-pageranked results on the top followed by pageranked results on the bottom.
Without PageRank: The #1 search result in this image is a match inside a source comment. Although this might be relevant in some contexts, it’s generally not so great to suggest as the top result.
Subscribe for the latest code AI news and product updates