awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
google avatar

google/codesearch

0
View on GitHub↗
3,980 星标·398 分支·Go·BSD-3-Clause·2 次浏览swtch.com/~rsc/regexp/regexp4.html↗

Codesearch

Codesearch 是一个索引式代码搜索引擎和大规模源码索引器,旨在跨庞大的源代码树执行正则表达式。它作为一个在大型代码库中查找特定文本模式的工具,通过分析和索引海量源文件来实现快速检索。

该系统利用专门的三元组(trigram)搜索索引来加速复杂的正则表达式查询。这种索引方法在应用完整的正则表达式扫描之前,先通过三字符序列过滤候选文档,从而确保在大数据集上的高性能表现。

该引擎处理 UTF-8 和 Latin-1 编码内容的 Unicode 文本,确保不同语言间字符匹配和大小写的一致性。其功能涵盖源代码索引、模式匹配和高性能正则表达式搜索。

Features

  • Code Pattern Searches - Finds specific text patterns across large codebases by applying regular expressions to a source index.
  • Trigram Indexes - Utilizes a trigram-based inverted index to filter candidate documents before applying full regular expression scans.
  • Source Code Indexing - Analyzes large volumes of source code to create a searchable index for rapid retrieval of code segments.
  • Regexp Code Search Engines - Provides a high-performance search engine using an inverted trigram index to execute regular expressions across code trees.
  • Trigram-Based Indexing - Uses a specialized trigram-based index to filter candidate files and accelerate complex regular expression queries.
  • Multi-Repository Code Searches - Enables finding specific text patterns or code segments across massive repositories using fast indexing.
  • Regex Search Engines - Executes complex regular expression queries over large datasets with high performance via trigram filtering.
  • Document Filtering - Identifies potential matches by executing regular expression queries against an optimized index to narrow document sets.
  • Full-Text Inverted Indexes - Implements an inverted index that maps text fragments to file locations for rapid code retrieval.
  • Text Pattern Search - Matches regular expressions against strings to identify the exact positions and boundaries of the found text.
  • Filter-and-Scan Pipelines - Uses a fast initial index filter followed by a precise regular expression pass to locate exact boundaries.
  • Code Analysis and Quality - Fast code search tool.

Star 历史

google/codesearch 的 Star 历史图表google/codesearch 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Codesearch 的开源替代方案

相似的开源项目,按与 Codesearch 的功能重合度排序。
  • hound-search/houndhound-search 的头像

    hound-search/hound

    5,846在 GitHub 上查看↗

    Hound is a self-hosted code search engine that indexes source code repositories and provides fast regular expression search results using a trigram-based index. It is designed to be deployed on your own infrastructure, enabling you to search across multiple public and private code repositories simultaneously. The engine builds its search index by decomposing source code into three-character trigrams, which allows for fast substring matching with regular expressions. It supports searching across multiple repositories in parallel, returning results from the pre-built trigram index. Hound can in

    JavaScript
    在 GitHub 上查看↗5,846
  • etsy/houndetsy 的头像

    etsy/hound

    5,846在 GitHub 上查看↗

    Hound is a self-hosted source code search engine designed to index multiple repositories for high-performance regular expression queries. It serves as a multi-repository code indexer that provides a centralized interface for searching across large-scale, private, and versioned codebases. The system utilizes trigram-based indexing to enable fast pattern matching and regular expression lookups without scanning every file. To maintain current search results, it employs automatic synchronization through a combination of periodic polling of remote version control systems and monitoring of local di

    JavaScript
    在 GitHub 上查看↗5,846
  • oracle/opengrokoracle 的头像

    oracle/opengrok

    4,868在 GitHub 上查看↗

    OpenGrok is a Java-based source code search engine and indexer designed to process large source trees and binaries into a searchable index. It functions as a version control browser, allowing for the exploration and searching of revision histories integrated with version control systems. The system provides symbol-based cross-referencing to link code definitions and usages, enabling navigation across a codebase. It utilizes an inverted-index search engine to perform full-text retrieval of source code. The application supports periodic source synchronization and reindexing to keep local data

    Javacodeenginejava
    在 GitHub 上查看↗4,868
  • rust-lang/regexrust-lang 的头像

    rust-lang/regex

    3,978在 GitHub 上查看↗

    This is a Rust regular expression library that provides a finite automata engine for searching and matching text patterns. It functions as a Unicode-compliant text scanner designed to guarantee linear time execution on all inputs to prevent catastrophic backtracking. The engine supports both single and multi-pattern search capabilities, allowing it to scan a piece of text for multiple regular expressions simultaneously. It operates on both strings and raw byte slices to identify matching text segments. The library covers text parsing, string validation, and pattern searching. It includes cap

    Rustautomataautomatondfa
    在 GitHub 上查看↗3,978
查看 Codesearch 的所有 30 个替代方案→

常见问题解答

google/codesearch 是做什么的?

Codesearch 是一个索引式代码搜索引擎和大规模源码索引器,旨在跨庞大的源代码树执行正则表达式。它作为一个在大型代码库中查找特定文本模式的工具,通过分析和索引海量源文件来实现快速检索。

google/codesearch 的主要功能有哪些?

google/codesearch 的主要功能包括:Code Pattern Searches, Trigram Indexes, Source Code Indexing, Regexp Code Search Engines, Trigram-Based Indexing, Multi-Repository Code Searches, Regex Search Engines, Document Filtering。

google/codesearch 有哪些开源替代品?

google/codesearch 的开源替代品包括: hound-search/hound — Hound is a self-hosted code search engine that indexes source code repositories and provides fast regular expression… etsy/hound — Hound is a self-hosted source code search engine designed to index multiple repositories for high-performance regular… oracle/opengrok — OpenGrok is a Java-based source code search engine and indexer designed to process large source trees and binaries… rust-lang/regex — This is a Rust regular expression library that provides a finite automata engine for searching and matching text… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns… francisrstokes/super-expressive — Super-expressive is a zero-dependency JavaScript library and domain-specific language used to construct complex…