google/codesearch
View on GitHub ↗ ★ 4,024 Go
Fast, indexed regexp search over large file trees
21 mentions on Hacker News by 18 people: 1 story, 20 comments · first 2015-06-17 · latest 2025-12-05
20082026
-
There's also https://github.com/google/codesearch for local only search
comment by arccy · 2025-12-05 · in Fast trigram based code search -
…ps://github.com/Debian/dcs/blob/main/howto/building.md [3]: https://github.com/sourcegraph/zoekt [4]: https://github.com/google/codesearch [5]: https://github.com/livegrep/livegrep [6]: https://oracle.github.io/opengrok/ [7]:…
comment by smarx007 · 2023-07-04 · in Sourcegraph is no longer open source -
Whenever I work on huge codebase (think 1M+ lines of code), I always reach for Russ Cox's codesearch https://github.com/google/codesearch . It requires indexing the codebase first, which takes 15 minutes or so, but after that searches are…
comment by tuankiet65 · 2022-03-27 · in Ask HN: How do you search large codebases before adding a feature or fixing bug? -
…open source, I haven't tried it and I don't know how much of today's code search is based on it. https://github.com/google/codesearch
comment by dvirsky · 2021-12-08 · in Improving GitHub Code Search -
csearch/cindex has not changed for 5 years, pretty useful and reliable https://github.com/google/codesearch cscope: last version in 2012, combined with Vim http://cscope.sourceforge.net/ [edit] actually codesearch received 2 fixes in 2018
comment by jerome-jh · 2020-09-15 · in Ask HN: What finished/done/complete software do you use? -
I found this on github in Google's org : https://github.com/google/codesearch
comment by arunaugustine · 2020-03-12 · in Google Open Source Code Search -
Maybe that was 2018, but last tool I adopted is 8 years old cindex/csearch code (well text) indexer: https://github.com/google/codesearch
comment by jerome-jh · 2019-12-12 · in Ask HN: What is your favorite software that you adopted in 2019? -
You can store a local search index of your code using https://github.com/google/codesearch , which uses this algorithm in the background.
comment by ngnear · 2018-12-03 · in How Google Code Search Worked: Regex Matching with a Trigram Index (2012) -
The project was released by the original author here. https://github.com/google/codesearch There is no information on the subject besides the 3 blog posts and the proof of concept.
comment by user5994461 · 2018-12-02 · in How Google Code Search Worked: Regex Matching with a Trigram Index (2012) -
If this looks cool you might also be into Google Code Search https://github.com/google/codesearch
comment by lgessler · 2018-11-30 · in Show HN: An experimental code search engine -
…Not sure if this fits your usecase, but you should check out codesearch if you haven't already: https://github.com/google/codesearch (Russ Cox's excellent writeup is here: https://swtch.com/~rsc/regexp/regexp4.html )
comment by lgessler · 2016-12-27 · in GNU Parallel -
…doesn't support regular expressions, which is a very useful feature for a code search engine. See https://github.com/google/codesearch for one implementation of this.
comment by Scaevolus · 2016-09-09 · in GPL Time Bomb – an interesting approach to FOSS licensing -
…looking at https://github.com/OpenGrok/OpenGrok https://github.com/ggreer/the_silver_searcher https://github.com/google/codesearch and my own https://github.com/boyter/searchcode-server
comment by boyter · 2016-08-30 · in Ask HN: Good source code search engines? -
…debian code search again, https://codesearch.debian.net/ . Built on top of Russ Cox's Code search ( https://github.com/google/codesearch ), and quite well documented. Can't say I've used it much, but it gives a few pointers into how you…
comment by ekr · 2016-08-29 · in Ask HN: Good source code search engines? -
It's like codesearch [1]. [1] https://github.com/google/codesearch
comment by kctess5 · 2016-08-24 · in Undebt: How We Refactored 3M Lines of Code -
…with a Trigram Index or How Google Code Search Worked https://swtch.com/~rsc/regexp/regexp4.html https://github.com/google/codesearch/tree/master/index I used mmap in a go project that had large (GByte) hash tables. Sidesteps any GC pauses…
comment by kristianp · 2016-07-12 · in Adventures with mmap and Go -
…open sourced part of that here (at least, I think it is related, and is also called "Code Search"): https://github.com/google/codesearch But, their public code search was not the same as the internal thing, as far as I know. The internal…
comment by SwellJoe · 2016-07-01 · in Software Heritage -
They open sourced a tool for code search: https://github.com/google/codesearch I don't know if it's the same, as I just heard of it from a YAPC talk a few days ago and haven't tried it, but it's called "Code Search" so it seems likely.
comment by SwellJoe · 2016-06-28 · in Why Google Stores Billions of Lines of Code in a Single Repository -
…You can peruse his open-source (re)implementation of the approach at https://github.com/google/codesearch .
comment by twotwotwo · 2016-04-20 · in Building a Regex Search Engine for DNA -
…went down some time ago. 3: http://opengrok.github.io/OpenGrok/ 4: https://github.com/etsy/Hound 5: https://github.com/google/codesearch
comment by nrr · 2016-02-06 · in GitHub is undergoing a full-blown overhaul as execs and employees depart