TechnologyProduct Development

How GitHub Uses Elasticsearch to Bring Semantic Search to 395 Million Code Repositories

GitHub, the world’s largest code host serving 180 million developers, deployed Elasticsearch on Elastic Cloud to add semantic search across more than 395 million repositories and billions of documents. The system handles natural-language queries from both human developers and AI agents, dramatically reducing zero-hit search results and improving click-through rates. A team of five to six engineers runs the entire search platform at that scale, with BBQ vector compression reducing infrastructure costs 32x.

Outcomes

395 million+Code repositories searchable with semantic search
32xVector compression ratio with BBQ
5-6Engineers running the search platform

Tools & Technologies

1EC
Elastic Cloud
Managed cloud hosting for the Elastic Stack, enabling search, observability, and security workloads without infrastructure management.
2K
Kibana
Data visualization and dashboard interface for Elasticsearch, enabling log exploration, metric monitoring, and incident management.
3E
Elasticsearch
Search and analytics engine by Elastic offering full-text, vector, and hybrid search capabilities.

AI Categories

Challenge

GitHub’s keyword-based search failed to handle the natural-language queries developers increasingly use, and broke entirely for AI agents and assistants that interact with GitHub data as first-class clients, leaving users with zero-hit results.

Solution

Elasticsearch on Elastic Cloud was deployed to power semantic search across billions of documents, using vector embeddings and BBQ compression to handle natural-language queries from humans and AI systems at scale, with Kibana enabling the engineering team to iterate quickly.

Full Story

GitHub is where the world builds software. More than 180 million developers at 4 million organizations — including 90% of the Fortune 100 — rely on it to create, store, and share code. That means GitHub manages more than 395 million repositories and billions of documents covering source code, patch notes, discussions, and wikis.

Access 455+ AI use cases, 427+ tools, and adoption signal rankings.

Source

ELASTIC
June 2026
Original case study

Similar Cases

1R
How Rakuten Uses Claude Code to Cut Feature Delivery from 24 to 5 Days
Rakuten
79%Reduction in average time to market for new features
2PA
How Palo Alto Networks Saves 351K Hours with Moveworks AI
Palo Alto Networks
351,000 hoursEmployee productivity hours saved
3N
How Notion Built Agent Orchestration on Claude to Cut Costs 90%
Notion
90%Infrastructure cost reduction via prompt caching
4H
How Hostinger Uses Claude to Build Websites from Natural Language
Hostinger
Minutes vs. daysWebsite creation time
5A
How Anything Uses Claude to Power a No-Code App Builder for 1.5M Users
Anything
800,000+Apps created by users
6J
How Jamf Uses Claude to Automate Workflows Across 16 Departments
Jamf
Under 45 minutesPerformance review skill build time
7C
How Cognition Tripled Merged PRs Per Week Using Claude to Power Devin, Its Autonomous AI Engineer
Cognition
3.5×Increase in merged PRs per week after adopting Claude Sonnet 3.6
8P
Pfizer Migrates to SAP S/4HANA on IBM Power10
Pfizer
93%Database reduction
9I
How IBM Uses watsonx to Unlock $4.5B in Productivity Gains
IBM
$4.5 billionTotal productivity gains unlocked
10M
How Motive Uses Glean to Deploy 2,000+ AI Agents and Save Thousands of Hours
Motive
2,000+AI agents deployed
See all use cases →