A fast trigram-based text search engine optimized for source code with substring, regex, and boolean query support.
Zoekt is a specialized text search engine designed for searching source code. It enables fast substring and regular expression matching across codebases using trigram indexing, with a rich query language and ranking based on code-specific signals like symbol matches. The project supports both command-line usage for local repositories and scalable server-based deployment for syncing and searching remote repositories from code hosts.
Developers and engineering teams working with large, multi-repository codebases who need efficient, code-aware search capabilities, such as those managing monorepos or integrating search into developer tools.
Developers choose Zoekt for its speed and accuracy in code search, leveraging trigram indexing and language-aware parsing to handle complex queries across vast codebases, with unique features like symbol integration via Universal ctags for enhanced result ranking.
Fast trigram based code search
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables efficient substring and regular expression search across large codebases using trigram-based indexing, as highlighted in the README's background section for speed and accuracy.
Ranks results using signals like symbol matches via Universal ctags integration, improving relevance for code searches, as noted in the installation and ranking descriptions.
Supports searching across many repositories with syncing from code hosts like GitHub through the indexserver, making it suitable for large codebases, as detailed in the usage examples.
Offers command-line tools for local use, a web UI, and JSON/gRPC APIs with advanced features like streaming results and BM25 scoring, providing multiple integration points.
Requires Go installation, configuration of indexserver with JSON files, and dependency on Universal ctags for optimal performance, making deployment non-trivial for new users.
The built-in web server provides only a simple search UI, lacking advanced features like code navigation or rich visualization tools found in commercial alternatives.
Symbol recognition and ranking heavily rely on Universal ctags, which may not support all languages uniformly and adds maintenance overhead, as acknowledged in the installation notes.