Skip to main content

Google Code Search









Google Code Search


From Wikipedia, the free encyclopedia

Jump to navigation
Jump to search




































Google Code Search
Google Code Search.png
Type of site
Search engine
Available in All languages
Owner Google
Website www.google.com/codesearch
Launched October 5, 2006; 12 years ago (2006-10-05)
Current status Discontinued as of 15 January 2012

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:.


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




Contents






  • 1 Regular expression engine


  • 2 Discontinuation


  • 3 See also


  • 4 References


  • 5 External links





Regular expression engine[edit]


The site allowed the use of regular expressions in queries, which at the 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 combines a trigram index with a custom-built, denial-of-service resistant regular expression engine.[1]


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


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.[3] The service remained online until March 2013,[4] 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.[5]



See also[edit]





  • Sourcegraph [1]

  • Codase

  • Krugle


  • Open Hub (a merge of Ohloh and Koders)

  • Merobase

  • OpenGrok


  • SearchCode [2]




References[edit]





  1. ^ Russ Cox (January 2012). "Regular Expression Matching with a Trigram Index (or: How Google Code Search Worked)"..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  2. ^ "RE2: a principled approach to regular expression matching".


  3. ^ Horowitz, Bradley (2011-10-14). "Official Blog: A fall sweep". Googleblog.blogspot.com. Retrieved 2013-07-09.


  4. ^ "Replacement for Google Code Search?". Stack Overflow.


  5. ^ codesearch on GitHub




External links[edit]




  • Archived 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











Retrieved from "https://en.wikipedia.org/w/index.php?title=Google_Code_Search&oldid=873948144"





Navigation menu

























(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgPageParseReport":{"limitreport":{"cputime":"0.376","walltime":"0.546","ppvisitednodes":{"value":1645,"limit":1000000},"ppgeneratednodes":{"value":0,"limit":1500000},"postexpandincludesize":{"value":76959,"limit":2097152},"templateargumentsize":{"value":1885,"limit":2097152},"expansiondepth":{"value":17,"limit":40},"expensivefunctioncount":{"value":3,"limit":500},"unstrip-depth":{"value":1,"limit":20},"unstrip-size":{"value":11527,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 410.152 1 -total"," 28.57% 117.182 1 Template:Infobox_website"," 27.67% 113.484 1 Template:Reflist"," 23.94% 98.203 1 Template:Infobox"," 22.16% 90.878 4 Template:Cite_web"," 16.44% 67.446 1 Template:Update"," 12.52% 51.337 3 Template:Main_other"," 11.90% 48.810 1 Template:Ambox"," 9.02% 37.001 1 Template:Google_Inc."," 8.73% 35.804 4 Template:Navbox"]},"scribunto":{"limitreport-timeusage":{"value":"0.151","limit":"10.000"},"limitreport-memusage":{"value":4988427,"limit":52428800}},"cachereport":{"origin":"mw1330","timestamp":"20190121191304","ttl":1900800,"transientcontent":false}}});});{"@context":"https://schema.org","@type":"Article","name":"Google Code Search","url":"https://en.wikipedia.org/wiki/Google_Code_Search","sameAs":"http://www.wikidata.org/entity/Q664672","mainEntity":"http://www.wikidata.org/entity/Q664672","author":{"@type":"Organization","name":"Contributors to Wikimedia projects"},"publisher":{"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":{"@type":"ImageObject","url":"https://www.wikimedia.org/static/images/wmf-hor-googpub.png"}},"datePublished":"2006-10-05T13:54:14Z","dateModified":"2018-12-16T03:34:22Z","headline":"website"}(window.RLQ=window.RLQ||).push(function(){mw.config.set({"wgBackendResponseTime":128,"wgHostname":"mw1244"});});

Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Lugert, Oklahoma