fbpx
Wikipedia

Google Code Search

Google Code Search was a free beta product from Google which debuted in Google Labs on October 5, 2006, allowing web users to search for open-source code on the Internet. Features included the ability to search using operators, namely lang:, package:, license:, and file:.

Google Code Search
Type of site
Search engine
Available inAll languages
OwnerGoogle
URLwww.google.com/codesearch
LaunchedOctober 5, 2006; 17 years ago (2006-10-05)
Current statusDiscontinued as of 15 January 2012

The code available for searching was in various formats including tar.gz, .tar.bz2, .tar, and .zip, CVS, Subversion, git and Mercurial repositories.

Google Code Search covered many open-source projects, and as such is different from the "Code Search for Google Open source projects" that was released afterwards.[1][2]

Regular expression engine edit

The site allowed the use of regular expressions in queries, which at that time was not offered by any other search engine for code.[citation needed] This makes it resemble grep, but over the world's public code. The methodology employed, sometimes called trigram search, combines a trigram index with a custom-built, denial-of-service resistant regular expression engine.[3]

In March 2010, the code of RE2, the regular expression engine used in Google Code Search, was made open source.[4]

Google Code Search supported POSIX extended regular expression syntax, excluding back-references, collating elements, and collation classes.

Languages not officially supported could be searched for using the file: operator to match the common file extensions for the language.

Discontinuation edit

In October 2011, Google announced that Code Search was to be shut down along with the Code Search API.[5] The service remained online until March 2013,[6] and it now returns a 404.

In January 2012, Russ Cox published an overview of history and the technical aspects of the tool, and open-sourced a basic implementation of a similar functionality as a set of standalone programs that can run fast indexed regular expression searches over local code.[7]

See also edit

References edit

  1. ^ "Code Search for Google open source projects". Google Open Source Blog. Retrieved 2020-04-01.
  2. ^ "Google Open Source". cs.opensource.google. Retrieved 2020-04-01.
  3. ^ Russ Cox (January 2012). "Regular Expression Matching with a Trigram Index (or: How Google Code Search Worked)". from the original on 2012-01-28. Retrieved 2012-01-26.
  4. ^ "RE2: a principled approach to regular expression matching". from the original on 2016-09-27. Retrieved 2016-09-24.
  5. ^ Horowitz, Bradley (2011-10-14). "Official Blog: A fall sweep". Googleblog.blogspot.com. from the original on 2011-11-23. Retrieved 2013-07-09.
  6. ^ "Replacement for Google Code Search?". Stack Overflow. from the original on 2017-11-09. Retrieved 2016-07-25.
  7. ^ codesearch on GitHub

External links edit

  • 12 November 2010 at the Wayback Machine
  • Cindex/Csearch - command-line file search tool, based on ideas from GCS
  • Version of Code Search, limited to the Chromium project
  • android source code search
  • chrome source code search

google, code, search, confused, with, google, code, this, article, needs, updated, please, help, update, this, article, reflect, recent, events, newly, available, information, december, 2018, free, beta, product, from, google, which, debuted, google, labs, oct. Not to be confused with Google Code This article needs to be updated Please help update this article to reflect recent events or newly available information December 2018 Google Code Search was a free beta product from Google which debuted in Google Labs on October 5 2006 allowing web users to search for open source code on the Internet Features included the ability to search using operators namely lang package license and file Google Code SearchType of siteSearch engineAvailable inAll languagesOwnerGoogleURLwww google com codesearchLaunchedOctober 5 2006 17 years ago 2006 10 05 Current statusDiscontinued as of 15 January 2012The code available for searching was in various formats including tar gz tar bz2 tar and zip CVS Subversion git and Mercurial repositories Google Code Search covered many open source projects and as such is different from the Code Search for Google Open source projects that was released afterwards 1 2 Contents 1 Regular expression engine 2 Discontinuation 3 See also 4 References 5 External linksRegular expression engine editThe site allowed the use of regular expressions in queries which at that time was not offered by any other search engine for code citation needed This makes it resemble grep but over the world s public code The methodology employed sometimes called trigram search combines a trigram index with a custom built denial of service resistant regular expression engine 3 In March 2010 the code of RE2 the regular expression engine used in Google Code Search was made open source 4 Google Code Search supported POSIX extended regular expression syntax excluding back references collating elements and collation classes Languages not officially supported could be searched for using the file operator to match the common file extensions for the language Discontinuation editIn October 2011 Google announced that Code Search was to be shut down along with the Code Search API 5 The service remained online until March 2013 6 and it now returns a 404 In January 2012 Russ Cox published an overview of history and the technical aspects of the tool and open sourced a basic implementation of a similar functionality as a set of standalone programs that can run fast indexed regular expression searches over local code 7 See also edit nbsp Computer programming portalKrugle Open Hub a merge of Ohloh and Koders Merobase OpenGrok Trigram searchReferences edit Code Search for Google open source projects Google Open Source Blog Retrieved 2020 04 01 Google Open Source cs opensource google Retrieved 2020 04 01 Russ Cox January 2012 Regular Expression Matching with a Trigram Index or How Google Code Search Worked Archived from the original on 2012 01 28 Retrieved 2012 01 26 RE2 a principled approach to regular expression matching Archived from the original on 2016 09 27 Retrieved 2016 09 24 Horowitz Bradley 2011 10 14 Official Blog A fall sweep Googleblog blogspot com Archived from the original on 2011 11 23 Retrieved 2013 07 09 Replacement for Google Code Search Stack Overflow Archived from the original on 2017 11 09 Retrieved 2016 07 25 codesearch on GitHubExternal links editArchived 12 November 2010 at the Wayback Machine Cindex Csearch command line file search tool based on ideas from GCS Version of Code Search limited to the Chromium project android source code search chrome source code search Retrieved from https en wikipedia org w index php title Google Code Search amp oldid 1170406396, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.