Join us

The technology behind GitHub’s new code search

The technology behind GitHub’s new code search

GitHub has created a new code search experience, using its own search engine called Blackbird, specifically designed for the domain of code search.

  • GitHub was motivated to create its own solution due to poor user experience, slow indexing, and expensive hosting from existing solutions.
  • Blackbird uses a special type of inverted index called an n-gram index, which is useful for looking up substrings of content.
  • With Blackbird, GitHub is able to index 45 million repositories representing 115 TB of code and 15.5 billion documents.
  • The search engine also provides a level of query consistency that other search engines do not offer.
  • The GitHub team optimized its ingest order and built Blackbird to perform well on GitHub's scale.


Let's keep in touch!

Stay updated with my latest posts and news. I share insights, updates, and exclusive content.

Unsubscribe anytime. By subscribing, you share your email with @faun and accept our Terms & Privacy.

Give a Pawfive to this post!


Only registered users can post comments. Please, login or signup.

Start writing about what excites you in tech — connect with developers, grow your voice, and get rewarded.

Join other developers and claim your FAUN.dev() account now!

Avatar

The FAUN

FAUN.dev()

@faun
The FAUN watches over the forest of developers. It roams between Kubernetes clusters, code caves, AI trails, and cloud canopies, gathering the signals that matter and clearing out the noise.
Developer Influence
3k

Influence

302k

Total Hits

3711

Posts