Hacker GitHub

← All repos

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

Mentions per year 21 mentions · busiest year 2016 (10)
20082026
  1. There's also https://github.com/google/codesearch for local only search
    comment by arccy · 2025-12-05 · in Fast trigram based code search
  2. …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
  3. 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…
  4. …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
  5. 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
  6. 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
  7. Maybe that was 2018, but last tool I adopted is 8 years old cindex/csearch code (well text) indexer: https://github.com/google/codesearch
  8. You can store a local search index of your code using https://github.com/google/codesearch , which uses this algorithm in the background.
  9. 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.
  10. If this looks cool you might also be into Google Code Search https://github.com/google/codesearch
  11. …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
  12. …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.
  13. …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
  14. …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…
  15. It's like codesearch [1]. [1] https://github.com/google/codesearch
  16. …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
  17. …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
  18. 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.
  19. …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
  20. …went down some time ago. 3: http://opengrok.github.io/OpenGrok/ 4: https://github.com/etsy/Hound 5: https://github.com/google/codesearch