TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

GitHub switches to Rust based Blackbird code search

161 pointsby fork-bomberabout 2 years ago

11 comments

hiyerabout 2 years ago
My current employer uses sourcegraph [1], which also uses n-gram based indexing like github&#x27;s blackbird. Would be interesting to see a comparative benchmark of the two.<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph&#x2F;blob&#x2F;main&#x2F;doc&#x2F;dev&#x2F;background-information&#x2F;architecture&#x2F;index.md">https:&#x2F;&#x2F;github.com&#x2F;sourcegraph&#x2F;sourcegraph&#x2F;blob&#x2F;main&#x2F;doc&#x2F;dev...</a>
评论 #35879173 未加载
noname120about 2 years ago
Actual press release: <a href="https:&#x2F;&#x2F;github.blog&#x2F;2023-02-06-the-technology-behind-githubs-new-code-search&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.blog&#x2F;2023-02-06-the-technology-behind-githubs...</a>
评论 #35874738 未加载
评论 #35886050 未加载
finnhabout 2 years ago
&gt; The resulting system can manage about 640 queries per second, compared to about 0.01 queries per second for ripgrep.<p>They are trying to make a point about indexes, but it is overshadowed by the unit mismatch (distributed system QPS vs what sounds like single-machine ripgrep pace)
评论 #35875429 未加载
评论 #35875362 未加载
评论 #35876810 未加载
mellosoulsabout 2 years ago
Considering the massive debt GitHub owes to open-source, is this engine also open?
评论 #35874799 未加载
评论 #35876218 未加载
评论 #35874629 未加载
hboonabout 2 years ago
In 2008, Microsoft acquired Fast Search and Transfer, an enterprise search company that has decent search technologies [1]. It ran on common Linux and Unix systems as well as Windows at the point of the acquisition.<p>[1] I worked there
评论 #35874788 未加载
estabout 2 years ago
annnnd it&#x27;s down. <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35872835" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35872835</a><p>Is this related?
评论 #35874548 未加载
评论 #35874710 未加载
WhereIsTheTruthabout 2 years ago
I hate the new search, most of the time it misses simple things and it is infuriating, I always end up just cloning the repo and searching for things using my own tools<p>&quot;about twice as fast&quot;, yeah twice as fast but twice less effective.. what&#x27;s the point
zvolskyabout 2 years ago
Relevant threads:<p>Feb 23, 2020 (<a href="https:&#x2F;&#x2F;grep.app" rel="nofollow">https:&#x2F;&#x2F;grep.app</a>) Show HN: Search code in GitHub repos using regular expressions <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22396824" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22396824</a><p>Dec 8, 2021 Improving GitHub Code Search <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29487237" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29487237</a>
pixelpoetabout 2 years ago
Lately I feel like the old joke about vegans can be applied to Rust:<p>Q: How do you know if something is written in Rust?<p>A: The author&#x2F;headline will tell you.
评论 #35877089 未加载
评论 #35879301 未加载
toastalabout 2 years ago
I love how Microsoft GitHub doesn’t allow you to search the code base unless you’re authenticated. &#x2F;s
评论 #35876444 未加载
jason2323about 2 years ago
Fix your damn database!
评论 #35877522 未加载